refactor: update hacks for LLVM 16
This commit is contained in:
1 parent
1d3f3b26e4
commit
e988e1d74e
2 files changed
+2
-2
No files matched your search
@@ -444,7 +444,7 @@ public:
|
||||
};
|
||||
|
||||
// CTAD
|
||||
#if !UNITS_COMP_CLANG || UNITS_COMP_CLANG > 15
|
||||
#if !UNITS_COMP_CLANG || UNITS_COMP_CLANG > 16
|
||||
template<typename D, typename U, typename Rep>
|
||||
explicit(false) quantity(Rep&&)->quantity<D, U, Rep>;
|
||||
#endif
|
||||
|
||||
@@ -287,7 +287,7 @@ static_assert(get_length_derived_quantity() == 1_q_m);
|
||||
// CTAD
|
||||
/////////
|
||||
|
||||
#if UNITS_COMP_GCC >= 11 || UNITS_COMP_CLANG > 15
|
||||
#if UNITS_COMP_GCC >= 11 || UNITS_COMP_CLANG > 16
|
||||
static_assert(std::is_same_v<decltype(aliases::isq::si::m(123))::rep, int>);
|
||||
static_assert(std::is_same_v<decltype(aliases::isq::si::m(123.))::rep, double>);
|
||||
static_assert(
|
||||
|
||||
Reference in new issue
Block a user