static_assert(std::false_type::value, ...)

This commit is contained in:
Ralf W. Grosse-Kunstleve 2024-12-21 08:20:46 -08:00
parent e6b1370085
commit 999b668688
No known key found for this signature in database

View File

@ -1372,7 +1372,7 @@ template <typename D>
template <typename T>
str_attr_accessor object_api<D>::attr_with_type_hint(const char *key) const {
#if !defined(__cpp_inline_variables)
static_assert(always_false<T>::value,
static_assert(std::false_type::value,
"C++17 feature __cpp_inline_variables not available: "
"https://en.cppreference.com/w/cpp/language/static#Static_data_members");
#endif