refactor: DOWNCAST_MODE renamed to UNITS_DOWNCAST_MODE

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

No files matched your search

+1 -1
View File
@@ -459,7 +459,7 @@ TEST_CASE("operator<< on a quantity", "[text][ostream][fmt]")
SECTION("percents")
{
#if DOWNCAST_MODE == 0
#if UNITS_DOWNCAST_MODE == 0
const auto q = quantity_cast<dim_one, percent>(15._q_m / 100._q_m);
#else
const auto q = quantity_cast<percent>(15._q_m / 100._q_m);