aboutsummaryrefslogtreecommitdiff
path: root/pugl
diff options
context:
space:
mode:
authorGravatar David Robillard <d@drobilla.net>2015-11-13 20:34:31 -0500
committerGravatar David Robillard <d@drobilla.net>2015-11-13 20:34:31 -0500
commit4aa6e38d9993281a21ab8552abc79f69e6f5265a (patch)
treec89673e2f6b06a4c6cf90616a7b4fe0788a1ee49 /pugl
parentbe50d4b038e7be89a44957d81f9f23cd1a0c3e30 (diff)
downloadsynthpod-4aa6e38d9993281a21ab8552abc79f69e6f5265a.zip
synthpod-4aa6e38d9993281a21ab8552abc79f69e6f5265a.tar.gz
synthpod-4aa6e38d9993281a21ab8552abc79f69e6f5265a.tar.bz2
synthpod-4aa6e38d9993281a21ab8552abc79f69e6f5265a.tar.xz
Make pugl::View destructor virtual
Diffstat (limited to 'pugl')
-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);