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 1ded6ee..cbf5894 100644
--- a/netfs/lib/entCache.h
+++ b/netfs/lib/entCache.h
@@ -6,7 +6,7 @@
#include <boost/multi_index_container.hpp>
#include <boost/multi_index/member.hpp>
#include <boost/multi_index/ordered_index.hpp>
-#include <boost/thread/shared_mutex.hpp>
+#include <shared_mutex>
#include <entryResolver.h>
class User {
@@ -56,7 +56,7 @@ class EntCache : public EntryResolver<decltype(entry_t::id)> {
boost::multi_index::tag<std::string>, 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;
};