diff --git a/ParallelAccessStore.h b/ParallelAccessStore.h index acad7c37..1ad05421 100644 --- a/ParallelAccessStore.h +++ b/ParallelAccessStore.h @@ -4,6 +4,7 @@ #include #include #include +#include #include #include #include @@ -71,7 +72,7 @@ private: std::mutex _mutex; std::unique_ptr> _baseStore; - std::map _openResources; + std::unordered_map _openResources; std::map>> _resourcesToRemove; std::unique_ptr _add(const Key &key, std::unique_ptr resource);