Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow custom comparators for the MRUCache
//base's MRUCache allowed specifying key and value types, like an underlying std::map<>, but the default base::MRUCache explicitly specialized the comparator as std::less<>. Rather than require the caller to overload std::less<> or operator<, allow the comparator to be specified as a templated argument. BUG=665735 Review-Url: https://codereview.chromium.org/2532313002 Cr-Commit-Position: refs/heads/master@{#434850}
- Loading branch information