refactor: DOWNCAST_MODE renamed to UNITS_DOWNCAST_MODE
This commit is contained in:
1 parent
68bdc82955
commit
d4d23847d8
11 files changed
+34
-34
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user