summaryrefslogtreecommitdiff
path: root/src/libs/clangsupport/filepathcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/clangsupport/filepathcache.h')
-rw-r--r--src/libs/clangsupport/filepathcache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/clangsupport/filepathcache.h b/src/libs/clangsupport/filepathcache.h
index 61e8680965..553aed61f7 100644
--- a/src/libs/clangsupport/filepathcache.h
+++ b/src/libs/clangsupport/filepathcache.h
@@ -67,12 +67,12 @@ class FilePathCache final : private FilePathCacheBase
{
using DirectoryPathCache = StringCache<Utils::PathString,
int,
- std::mutex,
+ std::shared_timed_mutex,
decltype(&Utils::reverseCompare),
Utils::reverseCompare>;
using FileNameCache = StringCache<Utils::SmallString,
int,
- std::mutex,
+ std::shared_timed_mutex,
decltype(&Utils::compare),
Utils::compare>;
public: