summaryrefslogtreecommitdiff
path: root/binaryurp/source/cache.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'binaryurp/source/cache.hxx')
-rw-r--r--binaryurp/source/cache.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/binaryurp/source/cache.hxx b/binaryurp/source/cache.hxx
index 578b6f4fd0b6..d1c1df7e32bf 100644
--- a/binaryurp/source/cache.hxx
+++ b/binaryurp/source/cache.hxx
@@ -55,9 +55,8 @@ public:
}
// try to insert into the map
list_.push_front( rContent); // create a temp entry
- typedef std::pair<typename LruList::iterator, IdxType> MappedType;
typedef std::pair<typename LruItMap::iterator,bool> MapPair;
- MapPair aMP = map_.insert( MappedType( list_.begin(), 0));
+ MapPair aMP = map_.emplace( list_.begin(), 0 );
*pbFound = !aMP.second;
if( !aMP.second) { // insertion not needed => found the entry