fix: some preprocessor branches fixed

This commit is contained in:
Mateusz Pusz
2023-03-30 17:04:25 +02:00
parent 3750fa63f2
commit 56dcb716e3
2 changed files with 3 additions and 3 deletions

View File

@@ -84,7 +84,7 @@ public:
uncertainty_type uncertainty;
};
#if UNITS_COMP_CLANG <= 16
#if UNITS_COMP_CLANG && UNITS_COMP_CLANG <= 16
template<QuantityOrQuantityPoint QQP, units::Quantity U>
estimation(state<QQP>, U) -> estimation<QQP>;

View File

@@ -94,7 +94,7 @@
#include <compare>
#include <concepts>
#if UNITS_COMP_MSVC || UNITS_COMP_CLANG < 16
#if UNITS_COMP_MSVC || (UNITS_COMP_CLANG && UNITS_COMP_CLANG < 16)
#define TYPENAME typename
@@ -114,7 +114,7 @@
#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)