From 3c56375e85db0f8719cbc118080bbef0a5a73780 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Fri, 16 Apr 2021 13:01:12 +0200 Subject: [PATCH] refactor: Example updated to benefit from USCS system --- example/aliases/clcpp_response.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/aliases/clcpp_response.cpp b/example/aliases/clcpp_response.cpp index 1cdc361e..f6feba1f 100644 --- a/example/aliases/clcpp_response.cpp +++ b/example/aliases/clcpp_response.cpp @@ -88,9 +88,9 @@ void quantities_with_typed_units() std::cout << " = " << iau::angstrom<>(meter) << '\n'; std::cout << " = " << imperial::ch<>(meter) << '\n'; std::cout << " = " << international::fathom<>(meter) << '\n'; - std::cout << " = " << quantity_cast(meter) << '\n'; // `us` system namespace collides with a microsecond (si::time::uscs) + std::cout << " = " << uscs::fathom<>(meter) << '\n'; std::cout << " = " << international::ft<>(meter) << '\n'; - std::cout << " = " << quantity_cast(meter) << '\n'; // `us` system namespace collides with a microsecond (si::time::uscs) + std::cout << " = " << uscs::ft<>(meter) << '\n'; std::cout << " = " << international::in<>(meter) << '\n'; std::cout << " = " << iau::ly<>(meter) << '\n'; std::cout << " = " << international::mi<>(meter) << '\n';