From 0cea82f944f2af5eb4a01f548a5c82039c2904a3 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Fri, 11 May 2012 00:15:12 +0300 Subject: [PATCH] Add virtual destructor to Tool to avoid a warning --- source/tool.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/tool.h b/source/tool.h index 1736e1c..5f21065 100644 --- a/source/tool.h +++ b/source/tool.h @@ -18,8 +18,9 @@ protected: std::list input_suffixes; Tool(Builder &, const std::string &); - public: + virtual ~Tool() { } + const std::string &get_tag() const { return tag; } const std::list &get_input_suffixes() const { return input_suffixes; } bool accepts_suffix(const std::string &) const; -- 2.45.2