aboutsummaryrefslogtreecommitdiffstats
path: root/src/tuplr.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tuplr.hpp')
-rw-r--r--src/tuplr.hpp1
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) {