diff --git a/src/storage/concurrent_id_mapper.hpp b/src/storage/concurrent_id_mapper.hpp index 5d27b0321..ad6edd0cd 100644 --- a/src/storage/concurrent_id_mapper.hpp +++ b/src/storage/concurrent_id_mapper.hpp @@ -17,5 +17,6 @@ class ConcurrentIdMapper { public: virtual TId value_to_id(const std::string &value) = 0; virtual const std::string &id_to_value(const TId &id) = 0; + virtual ~ConcurrentIdMapper() {} }; } // namespace storage diff --git a/src/storage/concurrent_id_mapper_master.hpp b/src/storage/concurrent_id_mapper_master.hpp index 388fa98c7..0d0ff241b 100644 --- a/src/storage/concurrent_id_mapper_master.hpp +++ b/src/storage/concurrent_id_mapper_master.hpp @@ -11,9 +11,7 @@ namespace storage { /** Master implementation of ConcurrentIdMapper. */ template -class MasterConcurrentIdMapper - : public SingleNodeConcurrentIdMapper { - +class MasterConcurrentIdMapper : public SingleNodeConcurrentIdMapper { public: MasterConcurrentIdMapper(communication::messaging::System &system); ~MasterConcurrentIdMapper();