diff options
author | David Robillard <d@drobilla.net> | 2009-10-15 21:50:19 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-10-15 21:50:19 +0000 |
commit | be047421b9f79bff5af05ab3eb9f20fb9e1c7215 (patch) | |
tree | e17fee6d3ad50ea412778af4b3bec269d664e11f | |
parent | 7426c554dd639200a8541c66b376b9a7fab1ab07 (diff) | |
download | resp-be047421b9f79bff5af05ab3eb9f20fb9e1c7215.tar.gz resp-be047421b9f79bff5af05ab3eb9f20fb9e1c7215.tar.bz2 resp-be047421b9f79bff5af05ab3eb9f20fb9e1c7215.zip |
Virtual destructor for Env.
git-svn-id: http://svn.drobilla.net/resp/tuplr@233 ad02d1e2-f140-0410-9f75-f8b11f17cedd
-rw-r--r-- | src/tuplr.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tuplr.hpp b/src/tuplr.hpp index 0390435..dce52b2 100644 --- a/src/tuplr.hpp +++ b/src/tuplr.hpp @@ -68,6 +68,7 @@ template<typename K, typename V> struct Env : public list< vector< pair<K,V> > > { typedef vector< pair<K,V> > Frame; Env() : list<Frame>(1) {} + virtual ~Env() {} virtual void push(Frame f=Frame()) { list<Frame>::push_front(f); } virtual void pop() { list<Frame>::pop_front(); } const V& def(const K& k, const V& v) { |