Browse Source

[master] Fix bug introduced in trac 900 change

Add MessageReader virtual destructor.  The NetBSD compiler complained
that no virtual destructor had been declared when there were virtual
methods in the class.
Stephen Morris 14 years ago
parent
commit
29d36377ec
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/lib/log/message_reader.h

+ 3 - 0
src/lib/log/message_reader.h

@@ -64,6 +64,9 @@ public:
         dictionary_(dictionary)
     {}
 
+    /// \brief Virtual Destructor
+    virtual ~MessageReader()
+    {}
 
     /// \brief Get Dictionary
     ///