forked from mpusz/mp-units
fix: some preprocessor branches fixed
This commit is contained in:
@@ -84,7 +84,7 @@ public:
|
|||||||
uncertainty_type uncertainty;
|
uncertainty_type uncertainty;
|
||||||
};
|
};
|
||||||
|
|
||||||
#if UNITS_COMP_CLANG <= 16
|
#if UNITS_COMP_CLANG && UNITS_COMP_CLANG <= 16
|
||||||
|
|
||||||
template<QuantityOrQuantityPoint QQP, units::Quantity U>
|
template<QuantityOrQuantityPoint QQP, units::Quantity U>
|
||||||
estimation(state<QQP>, U) -> estimation<QQP>;
|
estimation(state<QQP>, U) -> estimation<QQP>;
|
||||||
|
4
src/core/include/units/bits/external/hacks.h
vendored
4
src/core/include/units/bits/external/hacks.h
vendored
@@ -94,7 +94,7 @@
|
|||||||
#include <compare>
|
#include <compare>
|
||||||
#include <concepts>
|
#include <concepts>
|
||||||
|
|
||||||
#if UNITS_COMP_MSVC || UNITS_COMP_CLANG < 16
|
#if UNITS_COMP_MSVC || (UNITS_COMP_CLANG && UNITS_COMP_CLANG < 16)
|
||||||
|
|
||||||
#define TYPENAME typename
|
#define TYPENAME typename
|
||||||
|
|
||||||
@@ -114,7 +114,7 @@
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if UNITS_COMP_MSVC || UNITS_COMP_GCC < 11
|
#if UNITS_COMP_MSVC || (UNITS_COMP_GCC && UNITS_COMP_GCC < 11)
|
||||||
|
|
||||||
#define UNITS_CONSTRAINED_NTTP_WORKAROUND(X)
|
#define UNITS_CONSTRAINED_NTTP_WORKAROUND(X)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user