summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--netfs/lib/entCache.h4
1 files 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<decltype(entry_t::id)> {
typedef boost::multi_index::multi_index_container<std::shared_ptr<entry_t>,
boost::multi_index::indexed_by<
boost::multi_index::ordered_unique<
- boost::multi_index::tag<id_t>, BOOST_MULTI_INDEX_MEMBER(entry_t, const id_t, id)>,
+ boost::multi_index::tag<id_t>, BOOST_MULTI_INDEX_MEMBER(entry_t, const id_t, id), std::less<>>,
boost::multi_index::ordered_unique<
- boost::multi_index::tag<std::string>, BOOST_MULTI_INDEX_MEMBER(entry_t, const std::string, name)>
+ boost::multi_index::tag<std::string>, BOOST_MULTI_INDEX_MEMBER(entry_t, const std::string, name), std::less<>>
> > IDs;
mutable IDs idcache;
mutable std::shared_mutex lock;