From b8196de66467c9d82d39fe9e51ef79af1f30f626 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Mar=C3=ADn?= Date: Tue, 10 Dec 2024 15:43:22 +0100 Subject: [PATCH] Remove no longer needed guard --- src/Disks/ObjectStorages/InMemoryDirectoryPathMap.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Disks/ObjectStorages/InMemoryDirectoryPathMap.h b/src/Disks/ObjectStorages/InMemoryDirectoryPathMap.h index d8e72d253f3..20e5acc0562 100644 --- a/src/Disks/ObjectStorages/InMemoryDirectoryPathMap.h +++ b/src/Disks/ObjectStorages/InMemoryDirectoryPathMap.h @@ -65,14 +65,8 @@ struct InMemoryDirectoryPathMap mutable SharedMutex mutex; -#ifdef OS_LINUX FileNames TSA_GUARDED_BY(mutex) unique_filenames; Map TSA_GUARDED_BY(mutex) map; -/// std::shared_mutex may not be annotated with the 'capability' attribute in libcxx. -#else - FileNames unique_filenames; - Map map; -#endif }; }