aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-09 07:38:23 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-09 07:38:23 +0000
commit57d6b8941a42e726a6e5caadfea0a775ab841571 (patch)
tree4053c654e013e37dfe3b55b13e29672955a7bb59
parentf3116adf345637f9897ab1177f21a9a64a7ccb3f (diff)
downloadpaludis-57d6b8941a42e726a6e5caadfea0a775ab841571.tar.gz
paludis-57d6b8941a42e726a6e5caadfea0a775ab841571.tar.xz
Fix compiler warnings
-rw-r--r--python/formatter.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/formatter.cc b/python/formatter.cc
index bc5891f..cf0ae38 100644
--- a/python/formatter.cc
+++ b/python/formatter.cc
@@ -36,6 +36,10 @@ struct PythonCanFormatBase
{
virtual bp::override get_override(const char *) const = 0;
+ virtual ~PythonCanFormatBase()
+ {
+ }
+
template <typename F_>
std::string do_format(const T_ & t, const F_ &) const
{