aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl.hpp
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 /pugl/pugl.hpp
parentbe50d4b038e7be89a44957d81f9f23cd1a0c3e30 (diff)
downloadpugl-4aa6e38d9993281a21ab8552abc79f69e6f5265a.tar.gz
pugl-4aa6e38d9993281a21ab8552abc79f69e6f5265a.tar.bz2
pugl-4aa6e38d9993281a21ab8552abc79f69e6f5265a.zip
Make pugl::View destructor virtual
Diffstat (limited to 'pugl/pugl.hpp')
-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);