mirror of
https://github.com/catchorg/Catch2.git
synced 2025-10-26 02:05:40 +01: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`.