Fixed clang build errors
assiduous
2 years ago
112 | 112 | |
113 | 113 | private: |
114 | 114 | template <typename AllocatorType, typename ObjectType> |
115 | friend class MakeNewRCObj; | |
115 | friend class Diligent::MakeNewRCObj; | |
116 | 116 | |
117 | 117 | ResourceManager(IReferenceCounters* pRefCounters, |
118 | 118 | IRenderDevice* pDevice, |
123 | 123 | DynamicTextureAtlasCreateInfo m_DefaultAtlasDesc; |
124 | 124 | const std::string m_DefaultAtlasName; |
125 | 125 | |
126 | std::mutex m_AtlasesMtx; | |
127 | std::unordered_map<TEXTURE_FORMAT, RefCntAutoPtr<IDynamicTextureAtlas>> m_Atlases; | |
126 | using AtlasesHashMapType = std::unordered_map<TEXTURE_FORMAT, RefCntAutoPtr<IDynamicTextureAtlas>, std::hash<Uint32>>; | |
127 | std::mutex m_AtlasesMtx; | |
128 | AtlasesHashMapType m_Atlases; | |
128 | 129 | |
129 | std::mutex m_TexAllocationsMtx; | |
130 | std::unordered_map<std::string, RefCntWeakPtr<ITextureAtlasSuballocation>> m_TexAllocations; | |
130 | using TexAllocationsHashMapType = std::unordered_map<std::string, RefCntWeakPtr<ITextureAtlasSuballocation>>; | |
131 | std::mutex m_TexAllocationsMtx; | |
132 | TexAllocationsHashMapType m_TexAllocations; | |
131 | 133 | |
132 | 134 | std::atomic_uint32_t m_ResourceVersion = {}; |
133 | 135 | }; |