about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-09-20T16·36+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-09-20T16·36+0000
commit1bdc152931b2da66d896199e22defa70eaec9eff (patch)
treefbc5e2b33cc842246798e8644e17ff3d37ca1a9a
parent1b804f88e44e7f6760e9c43e329a8a6eb368c52e (diff)
* Shut up a warning.
-rw-r--r--src/libexpr/nixexpr.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/nixexpr.hh b/src/libexpr/nixexpr.hh
index 69a47a5adcaf..674321f92400 100644
--- a/src/libexpr/nixexpr.hh
+++ b/src/libexpr/nixexpr.hh
@@ -66,6 +66,7 @@ string showPos(ATerm pos);
    function to the resulting term. */
 struct TermFun
 {
+    virtual ~TermFun() { }
     virtual ATerm operator () (ATerm e) = 0;
 };
 ATerm bottomupRewrite(TermFun & f, ATerm e);