diff options
author | David Robillard <d@drobilla.net> | 2015-11-13 20:34:31 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-11-13 20:34:31 -0500 |
commit | 4aa6e38d9993281a21ab8552abc79f69e6f5265a (patch) | |
tree | c89673e2f6b06a4c6cf90616a7b4fe0788a1ee49 /pugl | |
parent | be50d4b038e7be89a44957d81f9f23cd1a0c3e30 (diff) | |
download | pugl-4aa6e38d9993281a21ab8552abc79f69e6f5265a.tar.gz pugl-4aa6e38d9993281a21ab8552abc79f69e6f5265a.tar.bz2 pugl-4aa6e38d9993281a21ab8552abc79f69e6f5265a.zip |
Make pugl::View destructor virtual
Diffstat (limited to 'pugl')
-rw-r--r-- | pugl/pugl.hpp | 2 |
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); |