Skip to content

Commit 999b668

Browse files
committed
static_assert(std::false_type::value, ...)
1 parent e6b1370 commit 999b668

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pybind11/cast.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1372,7 +1372,7 @@ template <typename D>
13721372
template <typename T>
13731373
str_attr_accessor object_api<D>::attr_with_type_hint(const char *key) const {
13741374
#if !defined(__cpp_inline_variables)
1375-
static_assert(always_false<T>::value,
1375+
static_assert(std::false_type::value,
13761376
"C++17 feature __cpp_inline_variables not available: "
13771377
"https://en.cppreference.com/w/cpp/language/static#Static_data_members");
13781378
#endif

0 commit comments

Comments
 (0)