diff options
Diffstat (limited to 'binaryurp/source')
-rw-r--r-- | binaryurp/source/cache.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binaryurp/source/cache.hxx b/binaryurp/source/cache.hxx index 7e5ba899cc92..a580c5e78eb7 100644 --- a/binaryurp/source/cache.hxx +++ b/binaryurp/source/cache.hxx @@ -60,7 +60,7 @@ public: typedef std::pair<typename LruItMap::iterator,bool> MapPair; MapPair aMP = map_.insert( MappedType( list_.begin(), 0)); *pbFound = !aMP.second; - + if( !aMP.second) { // insertion not needed => found the entry list_.pop_front(); // remove the temp entry list_.splice( list_.begin(), list_, aMP.first->first); // the found entry is moved to front |