build: COMP_XXX renamed to UNITS_COMP_XXX

This commit is contained in:
Mateusz Pusz
2021-03-15 21:13:21 +01:00
parent 625f452daa
commit 5c94a40906
12 changed files with 30 additions and 30 deletions
+2 -2
View File
@@ -176,7 +176,7 @@ static_assert(width<metre, double>::max().common().count() == std::numeric_limit
////////////////////////
// default initialization
#if !defined(COMP_MSVC)
#if !defined(UNITS_COMP_MSVC)
static_assert([] {
const auto read_uninitialized_quantity = [] {
width<metre> w;
@@ -367,7 +367,7 @@ static_assert(!std::is_assignable_v<width<metre, int>, width<millimetre, int>>);
// member operators
/////////////////////
#if !defined(COMP_MSVC) || defined(NDEBUG)
#if !defined(UNITS_COMP_MSVC) || defined(NDEBUG)
static_assert([]() {
width<metre, int> w(1 * m);
assert(+w.common() == 1 * m);