aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/cxx
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-01 15:49:22 +0100
committerDavid Robillard <d@drobilla.net>2020-11-01 15:49:22 +0100
commit7dde3e3ad6bfed5eb6aeeb27833f5f1a9f83de33 (patch)
treec4f2418640b78ced8d6f845090f9987bf39bb84d /bindings/cxx
parent6a8da097a2754e8b2002707519c9a16ae6e8ad72 (diff)
downloadpugl-7dde3e3ad6bfed5eb6aeeb27833f5f1a9f83de33.tar.gz
pugl-7dde3e3ad6bfed5eb6aeeb27833f5f1a9f83de33.tar.bz2
pugl-7dde3e3ad6bfed5eb6aeeb27833f5f1a9f83de33.zip
Add missing return
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); }