diff options
Diffstat (limited to 'bindings/cxx/include/pugl')
-rw-r--r-- | bindings/cxx/include/pugl/pugl.hpp | 1 |
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); } |