Adding an virtual destructor to OstreamUpdate.
authorTim King <taking@google.com>
Mon, 1 Feb 2016 19:12:10 +0000 (11:12 -0800)
committerTim King <taking@google.com>
Mon, 1 Feb 2016 19:12:10 +0000 (11:12 -0800)
src/smt/update_ostream.h

index 9e0100786f89e2f93cc20cbe8de2e4cdfc08a143..c5f09a2a9b4fded9fc6e14a5893fb909a2eeaff1 100644 (file)
@@ -57,6 +57,8 @@ class ChannelSettings {
 
 class OstreamUpdate {
 public:
+  virtual ~OstreamUpdate(){}
+
   virtual std::ostream& get() = 0;
   virtual void set(std::ostream* setTo) = 0;