From bcca7a40a6c59ee1effbaa1027a5364213434448 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 6 Nov 2013 11:24:51 +0200 Subject: [PATCH] Remove a useless const qualifier --- source/core/maputils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/maputils.h b/source/core/maputils.h index ecee0fb..2495a1e 100644 --- a/source/core/maputils.h +++ b/source/core/maputils.h @@ -75,7 +75,7 @@ const typename T::mapped_type &get_item(const T &map, const typename T::key_type } template -const typename T::iterator insert_unique(T &map, const typename T::key_type &key, const typename T::mapped_type &item) +typename T::iterator insert_unique(T &map, const typename T::key_type &key, const typename T::mapped_type &item) { if(map.count(key)) throw key_error(key); -- 2.45.2