From 7dde3e3ad6bfed5eb6aeeb27833f5f1a9f83de33 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 1 Nov 2020 15:49:22 +0100 Subject: Add missing return --- bindings/cxx/include/pugl/pugl.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'bindings') 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); } -- cgit v1.2.1