aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-11-13 20:34:31 -0500
committerDavid Robillard <d@drobilla.net>2015-11-13 20:34:31 -0500
commit4aa6e38d9993281a21ab8552abc79f69e6f5265a (patch)
treec89673e2f6b06a4c6cf90616a7b4fe0788a1ee49
parentbe50d4b038e7be89a44957d81f9f23cd1a0c3e30 (diff)
Make pugl::View destructor virtual
-rw-r--r--pugl/pugl.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/pugl.hpp b/pugl/pugl.hpp
index b6386ac..a3bafab 100644
--- a/pugl/pugl.hpp
+++ b/pugl/pugl.hpp
@@ -43,7 +43,7 @@ public:
puglSetDisplayFunc(_view, _onDisplay);
}
- ~View() { puglDestroy(_view); }
+ virtual ~View() { puglDestroy(_view); }
virtual void initWindowParent(PuglNativeWindow parent) {
puglInitWindowParent(_view, parent);