IPv6 ND Router discovery control plane (VPP-1095)
[vpp.git] / src / vpp-api / vom / singular_db.hpp
index 707389b..07ea2cb 100644 (file)
@@ -19,6 +19,8 @@
 #include <memory>
 #include <ostream>
 
+#include "vom/logger.hpp"
+
 namespace VOM {
 /**
  * A Database to store the unique 'singular' instances of a single object
@@ -141,7 +143,7 @@ private:
   /**
    * the map of objects against their key
    */
-  std::map<KEY, std::weak_ptr<OBJ>> m_map;
+  std::map<const KEY, std::weak_ptr<OBJ>> m_map;
 };
 };