fix previous commit:
The SwOLELRUCache::InsertObj is wrong for the case when the vector is empty; because "it != begin()" is false then (whereas "if (nPos)" is true), the object would not be inserted. Also do some more cleanup while at it. Change-Id: I9107c8861c77f99b92654aac11fb4d96cccd4307
Showing
Please
register
or
sign in
to comment