diff options
| author | Martin Hořeňovský | 2022-03-21 23:20:08 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2022-03-24 16:02:54 +0100 |
| commit | 081a1e9abaf32a759fd08a01fcf7a65860f91a63 (patch) | |
| tree | 2bbc0f40950d524596e4aa3b79b665ca3eb89adb /tests/TestScripts/testConfigureDisableStringification.py | |
| parent | 4d8acafecb973d9b03178346c3f1566fe7485fb1 (diff) | |
| download | catch3-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/TestScripts/testConfigureDisableStringification.py')
0 files changed, 0 insertions, 0 deletions