diff --git a/src/util/obj_hashtable.h b/src/util/obj_hashtable.h index 9c3473e3d..189d1e1a0 100644 --- a/src/util/obj_hashtable.h +++ b/src/util/obj_hashtable.h @@ -134,7 +134,7 @@ public: return m_table.end(); } - void insert(Key * k, Value const & v) { + void insert(Key * const k, Value const & v) { m_table.insert(key_data(k, v)); } @@ -150,7 +150,7 @@ public: return m_table.find_core(key_data(k)); } - bool find(Key * k, Value & v) const { + bool find(Key * const k, Value & v) const { obj_map_entry * e = find_core(k); if (e) { v = e->get_data().m_value;