diff --git a/test/test_quantity.cpp b/test/test_quantity.cpp index 4d11ed76..b82438c7 100644 --- a/test/test_quantity.cpp +++ b/test/test_quantity.cpp @@ -112,7 +112,7 @@ namespace { static_assert(length(km).count() == 1000); // static_assert(length(length(3.14)).count() == 3); // should not compile - static_assert(length(quantity_cast>(3.14_m)).count() == 3); + static_assert(length(quantity_cast>>(3.14_m)).count() == 3); // static_assert(length(length>(1000.0)).count() == 1000); // should not compile // static_assert(length(1000.0_m).count() == 1000); // should not compile static_assert(length(1000.0_m).count() == 1000.0); @@ -123,7 +123,7 @@ namespace { static_assert(length(1_km).count() == 1000); // static_assert(length(1_s).count() == 1); // should not compile // static_assert(length(1010_m).count() == 1); // should not compile - static_assert(length(quantity_cast>(1010_m)).count() == 1); + static_assert(length(quantity_cast>>(1010_m)).count() == 1); // assignment operator