diff --git a/test/unit_test/static/custom_rep_test_min_impl.cpp b/test/unit_test/static/custom_rep_test_min_impl.cpp index 70166e60..1f140b39 100644 --- a/test/unit_test/static/custom_rep_test_min_impl.cpp +++ b/test/unit_test/static/custom_rep_test_min_impl.cpp @@ -74,8 +74,8 @@ static_assert(!std::constructible_from>, mi static_assert(!std::convertible_to, quantity>>); // multiply syntax should work -template -concept creates_quantity = requires { T{} * U; }; +template +concept creates_quantity = Unit> && requires { T{} * U; }; static_assert(creates_quantity, si::metre>); static_assert(creates_quantity, si::metre>);