From be047421b9f79bff5af05ab3eb9f20fb9e1c7215 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 15 Oct 2009 21:50:19 +0000 Subject: Virtual destructor for Env. git-svn-id: http://svn.drobilla.net/resp/tuplr@233 ad02d1e2-f140-0410-9f75-f8b11f17cedd --- src/tuplr.hpp | 1 + 1 file changed, 1 insertion(+) 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 struct Env : public list< vector< pair > > { typedef vector< pair > Frame; Env() : list(1) {} + virtual ~Env() {} virtual void push(Frame f=Frame()) { list::push_front(f); } virtual void pop() { list::pop_front(); } const V& def(const K& k, const V& v) { -- cgit v1.2.1