diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-25 17:43:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 21:10:45 +0000 |
commit | 598243b2d8e8bd3496d88affdbccee6c11566c69 (patch) | |
tree | 8cf3c4ab131f1f71cee2d5934e684f510f9496d2 /binaryurp | |
parent | 54932e7e182962c4084dcbc094650eec13960029 (diff) |
Remove visual noise from binaryurp
Change-Id: I863499cccfe586b570d0021e143718bd3e4e1181
Reviewed-on: https://gerrit.libreoffice.org/8236
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'binaryurp')
-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 |