refactor: update hacks for LLVM 15

This commit is contained in:
Johel Ernesto Guerrero Peña committed 2022-02-07 21:07:22 -04:00
1 parent e5f74b85ce
commit 3f145a25db
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -273,7 +273,7 @@ static_assert(get_length_derived_quantity() == 1_q_m);
// CTAD
/////////
#if UNITS_COMP_GCC >= 11 || UNITS_COMP_CLANG > 14
#if UNITS_COMP_GCC >= 11 || UNITS_COMP_CLANG > 15
static_assert(std::is_same_v<decltype(units::aliases::isq::si::m(123))::rep, int>);
static_assert(std::is_same_v<decltype(units::aliases::isq::si::m(123.))::rep, double>);
#endif