aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/cxx')
-rw-r--r--bindings/cxx/include/pugl/pugl.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/bindings/cxx/include/pugl/pugl.hpp b/bindings/cxx/include/pugl/pugl.hpp
index 31903a9..d6ec711 100644
--- a/bindings/cxx/include/pugl/pugl.hpp
+++ b/bindings/cxx/include/pugl/pugl.hpp
@@ -66,6 +66,7 @@ public:
{
_ptr = wrapper._ptr;
wrapper._ptr = nullptr;
+ return *this;
}
~Wrapper() noexcept { Free(_ptr); }