refactor: DOWNCAST_MODE renamed to UNITS_DOWNCAST_MODE

This commit is contained in:
Mateusz Pusz
2020-09-13 18:45:46 +02:00
parent 68bdc82955
commit d4d23847d8
11 changed files with 34 additions and 34 deletions

View File

@ -131,7 +131,7 @@ void example()
const auto t = si::time<si::second, measurement<double>>(measurement(1.2, 0.1));
const Speed auto v1 = a * t;
#if DOWNCAST_MODE == 0
#if UNITS_DOWNCAST_MODE == 0
std::cout << a << " * " << t << " = " << v1 << " = " << quantity_cast<si::dim_speed, si::kilometre_per_hour>(v1) << '\n';
#else
std::cout << a << " * " << t << " = " << v1 << " = " << quantity_cast<si::kilometre_per_hour>(v1) << '\n';