summaryrefslogtreecommitdiff
path: root/src/pyinterp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pyinterp.h')
-rw-r--r--src/pyinterp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pyinterp.h b/src/pyinterp.h
index a8f4784f..2258c6c0 100644
--- a/src/pyinterp.h
+++ b/src/pyinterp.h
@@ -75,6 +75,7 @@ class python_interpreter_t : public xml::xpath_t::scope_t
boost::python::object func;
public:
functor_t(const string& name, boost::python::object _func) : func(_func) {}
+ virtual ~functor_t() {}
virtual value_t operator()(xml::xpath_t::scope_t * locals);
};