Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tests/SelfTest/UsageTests/ToStringVector.tests.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2022-03-21 23:20:08 +0100
committerMartin Hořeňovský2022-03-24 16:02:54 +0100
commit081a1e9abaf32a759fd08a01fcf7a65860f91a63 (patch)
tree2bbc0f40950d524596e4aa3b79b665ca3eb89adb /tests/SelfTest/UsageTests/ToStringVector.tests.cpp
parent4d8acafecb973d9b03178346c3f1566fe7485fb1 (diff)
downloadcatch3-081a1e9abaf32a759fd08a01fcf7a65860f91a63.tar.gz
ColourGuard is no longer constructed engaged
Forcing it to be engaged explicitly, either via `op<<`, or by `ColourGuard::engage`, fixes an issue with multiple `ColourGuard`s being constructed in a single expression. Because the construction of the `ColourGuard` instances can happen in arbitrary order, colours would be applied in arbitrary order too. However, a chain of `op<<`s has strict call orders, fixing this issue.
Diffstat (limited to 'tests/SelfTest/UsageTests/ToStringVector.tests.cpp')
0 files changed, 0 insertions, 0 deletions