We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 708ca55 commit 85dc7e6Copy full SHA for 85dc7e6
include/pybind11/detail/internals.h
@@ -781,7 +781,7 @@ class internals_pp_manager {
781
782
// Track pointer-to-pointers whose internals have been created, to detect re-entrancy.
783
// Use instance member over static due to singleton pattern of this class.
784
- std::unordered_set<void *> pps_have_created_content_;
+ std::unordered_set<std::unique_ptr<InternalsType> *> pps_have_created_content_;
785
std::mutex pp_set_mutex_;
786
};
787
0 commit comments