]> git.tdb.fi Git - builder.git/commitdiff
Add virtual destructor to Tool to avoid a warning
authorMikko Rasa <tdb@tdb.fi>
Thu, 10 May 2012 21:15:12 +0000 (00:15 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 8 Jul 2012 21:08:51 +0000 (00:08 +0300)
source/tool.h

index 1736e1c74f0f40207ebbc66f391bebbc7d59aba9..5f210654597f325185a6e5c26e3f9c965026ec97 100644 (file)
@@ -18,8 +18,9 @@ protected:
        std::list<std::string> input_suffixes;
 
        Tool(Builder &, const std::string &);
-
 public:
+       virtual ~Tool() { }
+
        const std::string &get_tag() const { return tag; }
        const std::list<std::string> &get_input_suffixes() const { return input_suffixes; }
        bool accepts_suffix(const std::string &) const;