From 1bdc152931b2da66d896199e22defa70eaec9eff Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 20 Sep 2006 16:36:29 +0000 Subject: * Shut up a warning. --- src/libexpr/nixexpr.hh | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libexpr') 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); -- cgit 1.4.1