| Index: base/containers/mru_cache.h
|
| diff --git a/base/containers/mru_cache.h b/base/containers/mru_cache.h
|
| index 6c1d6260f55b26168a736b5d09a72e34f0644a16..4005489d4b285a8716452869b7688dea362689bf 100644
|
| --- a/base/containers/mru_cache.h
|
| +++ b/base/containers/mru_cache.h
|
| @@ -209,10 +209,12 @@ class MRUCacheBase {
|
|
|
| // A container that does not do anything to free its data. Use this when storing
|
| // value types (as opposed to pointers) in the list.
|
| -template <class KeyType, class PayloadType>
|
| -class MRUCache : public MRUCacheBase<KeyType, PayloadType, std::less<KeyType>> {
|
| +template <class KeyType,
|
| + class PayloadType,
|
| + class CompareType = std::less<KeyType>>
|
| +class MRUCache : public MRUCacheBase<KeyType, PayloadType, CompareType> {
|
| private:
|
| - using ParentType = MRUCacheBase<KeyType, PayloadType, std::less<KeyType>>;
|
| + using ParentType = MRUCacheBase<KeyType, PayloadType, CompareType>;
|
|
|
| public:
|
| // See MRUCacheBase, noting the possibility of using NO_AUTO_EVICT.
|
|
|