From 33ddf0bcdfcf630c0bdb4cad3414e9dea6eb79bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henning=20G=C3=BCnther?= Date: Wed, 20 May 2015 14:33:46 +0100 Subject: [PATCH] Expose insert_if_not_there_core method in map class MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Henning Günther --- src/util/map.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/util/map.h b/src/util/map.h index d659b89c0..4640eb111 100644 --- a/src/util/map.h +++ b/src/util/map.h @@ -108,6 +108,10 @@ public: m_table.insert(key_data(k, v)); } + bool insert_if_not_there_core(key const & k, value const & v, entry *& et) { + return m_table.insert_if_not_there_core(key_data(k,v), et); + } + key_data const & insert_if_not_there(key const & k, value const & v) { return m_table.insert_if_not_there(key_data(k, v)); }