diff options
-rw-r--r-- | src/libexpr/nixexpr.hh | 1 |
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); |