summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/singular_db.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp-api/vom/singular_db.hpp')
-rw-r--r--src/vpp-api/vom/singular_db.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp-api/vom/singular_db.hpp b/src/vpp-api/vom/singular_db.hpp
index bc49c88551f..07ea2cb4acf 100644
--- a/src/vpp-api/vom/singular_db.hpp
+++ b/src/vpp-api/vom/singular_db.hpp
@@ -143,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;
};
};