From b4750c3cae0184d4aec5e7b2c557524e75f836d8 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 9 Apr 2018 13:09:06 +0100 Subject: C++17 Replace boost shared_mutex with std::mutex to work with new lock helpers. --- 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 1ded6ee..cbf5894 100644 --- a/netfs/lib/entCache.h +++ b/netfs/lib/entCache.h @@ -6,7 +6,7 @@ #include #include #include -#include +#include #include class User { @@ -56,7 +56,7 @@ class EntCache : public EntryResolver { boost::multi_index::tag, BOOST_MULTI_INDEX_MEMBER(entry_t, const std::string, name)> > > IDs; mutable IDs idcache; - mutable boost::shared_mutex lock; + mutable std::shared_mutex lock; mutable time_t fillTime; }; -- cgit v1.2.3