Add missing virtual destructor.
authorCarl Hetherington <cth@carlh.net>
Tue, 14 Aug 2018 14:44:14 +0000 (15:44 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 14 Aug 2018 14:44:14 +0000 (15:44 +0100)
src/lib/state.h

index 7843c34c86a06269fb33432c7ef04dd0fcc2b0ca..4e3d45cf87905a968fb96bed3cd8f3b584353083 100644 (file)
@@ -28,6 +28,7 @@
 class State : public boost::noncopyable
 {
 public:
+       virtual ~State() {}
        virtual void read () = 0;
        virtual void write () const = 0;