Skip to content

Commit 6d9441d

Browse files
committed
Fix copy-paste-missed-a-change mishap in commit 88cec11.
1 parent 78f4e93 commit 6d9441d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pybind11/numpy.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class LazyInitializeAtLeastOnceDestroyNever {
7373
PYBIND11_WARNING_PUSH
7474
#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ < 5
7575
// Needed for gcc 4.8.5
76-
PYBIND11_WARNING_DISABLE_CLANG("-Wstrict-aliasing")
76+
PYBIND11_WARNING_DISABLE_GCC("-Wstrict-aliasing")
7777
#endif
7878
return *reinterpret_cast<T *>(value_storage_);
7979
PYBIND11_WARNING_POP

0 commit comments

Comments
 (0)