Skip to content

Commit d266833

Browse files
committed
build: __cpp_deleted_function removed for clang-20 when C++ version < 26
1 parent 5fde283 commit d266833

File tree

1 file changed

+1
-1
lines changed
  • src/core/include/mp-units/bits

1 file changed

+1
-1
lines changed

src/core/include/mp-units/bits/hacks.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ inline constexpr from_range_t from_range{};
111111
#endif
112112

113113
// TODO https://github.com/llvm/llvm-project/issues/110224
114-
#if MP_UNITS_COMP_CLANG == 19 && __cplusplus <= 202302
114+
#if MP_UNITS_COMP_CLANG >= 19 && __cplusplus <= 202302
115115

116116
MP_UNITS_DIAGNOSTIC_PUSH
117117
MP_UNITS_DIAGNOSTIC_IGNORE_BUILTIN_MACRO_REDEFINED

0 commit comments

Comments
 (0)