refactor: more workarounds for gcc-12

This commit is contained in:
Mateusz Pusz
2024-06-01 13:03:20 +02:00
parent 16493ee99a
commit 1c5b8de627
8 changed files with 45 additions and 45 deletions

View File

@@ -27,7 +27,7 @@
#include <type_traits>
template<auto V, typename T>
inline constexpr bool is_of_type = std::is_same_v<decltype(V), T>;
inline constexpr bool is_of_type = std::is_same_v<MP_UNITS_REMOVE_CONST(decltype(V)), T>;
// NOLINTBEGIN(cppcoreguidelines-macro-usage)
#ifdef MP_UNITS_API_NO_CRTP