diff options
author | David Robillard <d@drobilla.net> | 2020-11-01 15:49:22 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-01 15:49:22 +0100 |
commit | 7dde3e3ad6bfed5eb6aeeb27833f5f1a9f83de33 (patch) | |
tree | c4f2418640b78ced8d6f845090f9987bf39bb84d /bindings/cxx/include | |
parent | 6a8da097a2754e8b2002707519c9a16ae6e8ad72 (diff) | |
download | pugl-7dde3e3ad6bfed5eb6aeeb27833f5f1a9f83de33.tar.gz pugl-7dde3e3ad6bfed5eb6aeeb27833f5f1a9f83de33.tar.bz2 pugl-7dde3e3ad6bfed5eb6aeeb27833f5f1a9f83de33.zip |
Add missing return
Diffstat (limited to 'bindings/cxx/include')
-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); } |