Update src/Disks/ObjectStorages/InMemoryPathMap.h

Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
This commit is contained in:
Julia Kartseva 2024-07-14 20:49:37 -07:00
parent db13ba2c48
commit 912bddf86f

View File

@ -21,6 +21,7 @@ struct InMemoryPathMap
return path1 < path2;
}
};
/// Local -> Remote path.
using Map = std::map<std::filesystem::path, std::string, PathComparator>;
mutable SharedMutex mutex;
Map map TSA_GUARDED_BY(mutex);