summaryrefslogtreecommitdiff
path: root/stoc/source/security/lru_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/security/lru_cache.h')
-rw-r--r--stoc/source/security/lru_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/security/lru_cache.h b/stoc/source/security/lru_cache.h
index 6677a95b843f..28c34fec9eda 100644
--- a/stoc/source/security/lru_cache.h
+++ b/stoc/source/security/lru_cache.h
@@ -193,7 +193,7 @@ inline void lru_cache< t_key, t_val, t_hashKey, t_equalKey >::set(
m_key2element.erase( entry->m_key );
entry->m_key = key;
::std::pair< typename t_key2element::iterator, bool > insertion(
- m_key2element.insert( typename t_key2element::value_type( key, entry ) ) );
+ m_key2element.emplace( key, entry ) );
OSL_ENSURE( insertion.second, "### inserting new cache entry failed?!" );
}
else