From c28edba4703dc44ae8f2b3e96fd3aa7b6622cca1 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 3 Feb 2019 02:17:19 +0000 Subject: Specialised comparator in EntCache --- netfs/lib/entCache.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netfs/lib/entCache.h b/netfs/lib/entCache.h index cbf5894..4c34a32 100644 --- a/netfs/lib/entCache.h +++ b/netfs/lib/entCache.h @@ -51,9 +51,9 @@ class EntCache : public EntryResolver { typedef boost::multi_index::multi_index_container, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< - boost::multi_index::tag, BOOST_MULTI_INDEX_MEMBER(entry_t, const id_t, id)>, + boost::multi_index::tag, BOOST_MULTI_INDEX_MEMBER(entry_t, const id_t, id), std::less<>>, boost::multi_index::ordered_unique< - boost::multi_index::tag, BOOST_MULTI_INDEX_MEMBER(entry_t, const std::string, name)> + boost::multi_index::tag, BOOST_MULTI_INDEX_MEMBER(entry_t, const std::string, name), std::less<>> > > IDs; mutable IDs idcache; mutable std::shared_mutex lock; -- cgit v1.2.3