Missing virtual destructor.
authorCarl Hetherington <cth@carlh.net>
Sat, 10 Oct 2015 10:36:58 +0000 (11:36 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 10 Oct 2015 10:36:58 +0000 (11:36 +0100)
src/lib/log_entry.h

index b94637a33ae8e337b3fd0edfad1e08e60f24b867..10a69c41644517483c0a8cee5575d5b025417449 100644 (file)
@@ -35,6 +35,7 @@ public:
        static const int TYPE_TIMING;
 
        LogEntry (int type);
+       virtual ~LogEntry () {}
 
        virtual std::string message () const = 0;