Skip to content

Commit

Permalink
Fix copy-paste-missed-a-change mishap in commit 88cec11.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralf W. Grosse-Kunstleve committed Oct 9, 2023
1 parent 78f4e93 commit 6d9441d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pybind11/numpy.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class LazyInitializeAtLeastOnceDestroyNever {
PYBIND11_WARNING_PUSH
#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ < 5
// Needed for gcc 4.8.5
PYBIND11_WARNING_DISABLE_CLANG("-Wstrict-aliasing")
PYBIND11_WARNING_DISABLE_GCC("-Wstrict-aliasing")
#endif
return *reinterpret_cast<T *>(value_storage_);
PYBIND11_WARNING_POP
Expand Down

0 comments on commit 6d9441d

Please sign in to comment.