Skip to content

Commit 85dc7e6

Browse files
committed
Use original pointer type for Windows
1 parent 708ca55 commit 85dc7e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pybind11/detail/internals.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ class internals_pp_manager {
781781

782782
// Track pointer-to-pointers whose internals have been created, to detect re-entrancy.
783783
// Use instance member over static due to singleton pattern of this class.
784-
std::unordered_set<void *> pps_have_created_content_;
784+
std::unordered_set<std::unique_ptr<InternalsType> *> pps_have_created_content_;
785785
std::mutex pp_set_mutex_;
786786
};
787787

0 commit comments

Comments
 (0)