diff options
Diffstat (limited to '3rdparty/pybind11/tests/test_call_policies.cpp')
-rw-r--r-- | 3rdparty/pybind11/tests/test_call_policies.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/3rdparty/pybind11/tests/test_call_policies.cpp b/3rdparty/pybind11/tests/test_call_policies.cpp index fd245578..26c83f81 100644 --- a/3rdparty/pybind11/tests/test_call_policies.cpp +++ b/3rdparty/pybind11/tests/test_call_policies.cpp @@ -46,6 +46,7 @@ TEST_SUBMODULE(call_policies, m) { class Parent { public: Parent() { py::print("Allocating parent."); } + Parent(const Parent& parent) = default; ~Parent() { py::print("Releasing parent."); } void addChild(Child *) { } Child *returnChild() { return new Child(); } |