Browse Source

Add a virtual destructor

To fix compilation.
Michal 'vorner' Vaner 12 years ago
parent
commit
c9ba8373e2
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/lib/datasrc/memory/zone_writer.h

+ 3 - 0
src/lib/datasrc/memory/zone_writer.h

@@ -37,6 +37,9 @@ namespace memory {
 /// (how to achieve that may be implementation dependant).
 /// (how to achieve that may be implementation dependant).
 class ZoneWriter {
 class ZoneWriter {
 public:
 public:
+    /// \brief Virtual destructor.
+    virtual ~ZoneWriter() {};
+
     /// \brief Get the zone data into memory.
     /// \brief Get the zone data into memory.
     ///
     ///
     /// This is the part that does the time-consuming loading into the memory.
     /// This is the part that does the time-consuming loading into the memory.