We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
value_storage_
1 parent 7bc16a6 commit 78f4e93Copy full SHA for 78f4e93
include/pybind11/numpy.h
@@ -87,7 +87,7 @@ class LazyInitializeAtLeastOnceDestroyNever {
87
= default;
88
89
private:
90
- alignas(T) char value_storage_[sizeof(T)];
+ alignas(T) char value_storage_[sizeof(T)] = {};
91
bool initialized_ = false;
92
};
93
0 commit comments