mirror of
https://github.com/catchorg/Catch2.git
synced 2025-03-31 15:44:47 +02:00

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`.