From: Mikko Rasa Date: Wed, 6 Nov 2013 09:24:51 +0000 (+0200) Subject: Remove a useless const qualifier X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=bcca7a40a6c59ee1effbaa1027a5364213434448;p=libs%2Fcore.git Remove a useless const qualifier --- 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);