build: COMP_XXX renamed to UNITS_COMP_XXX
This commit is contained in:
1 parent
625f452daa
commit
5c94a40906
12 files changed
+30
-30
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user