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

summaryrefslogtreecommitdiffhomepage
path: root/tests/SelfTest/UsageTests/ToStringGeneral.tests.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2024-04-08 11:02:22 +0200
committerMartin Hořeňovský2024-04-08 11:33:43 +0200
commit71b11c4e3328090d2ec72268299e3fb9e0ac3f8e (patch)
tree0b835cc8369eedd19f6861988f8885b0ed490187 /tests/SelfTest/UsageTests/ToStringGeneral.tests.cpp
parent0a6a2ce88764cc8c01411fee68834571a5b9a0a1 (diff)
downloadcatch3-71b11c4e3328090d2ec72268299e3fb9e0ac3f8e.tar.gz
Fix assertion for const instance of std::ordering
The issue was that `capture_by_value` was meant to be specialized by plain type, e.g. `capture_by_value<std::weak_ordering>`, but the TMP in Decomposer did not properly throw away `const` (and `volatile`) qualifiers, before taking the value of `capture_by_value`.
Diffstat (limited to 'tests/SelfTest/UsageTests/ToStringGeneral.tests.cpp')
0 files changed, 0 insertions, 0 deletions