From 39df94a7ea93456e06d97f0efbca1c5d210b0f0d Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 31 Jan 2019 08:21:39 -0800 Subject: Updated HashMapStringKey to define Hasher in the struct rather than in std --- Graphics/GraphicsEngineOpenGL/include/GLProgramResources.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Graphics/GraphicsEngineOpenGL') diff --git a/Graphics/GraphicsEngineOpenGL/include/GLProgramResources.h b/Graphics/GraphicsEngineOpenGL/include/GLProgramResources.h index 0a962da6..5cf2efe0 100644 --- a/Graphics/GraphicsEngineOpenGL/include/GLProgramResources.h +++ b/Graphics/GraphicsEngineOpenGL/include/GLProgramResources.h @@ -253,7 +253,7 @@ namespace Diligent return Index < m_VariablesByIndex.size() ? m_VariablesByIndex[Index] : nullptr; } - const std::unordered_map& GetVariables(){return m_VariableHash;} + const std::unordered_map& GetVariables(){return m_VariableHash;} Uint32 GetVariableCount()const { @@ -272,8 +272,8 @@ namespace Diligent std::vector m_StorageBlocks; /// Hash map to look up shader variables by name. - std::unordered_map m_VariableHash; - std::vector m_VariablesByIndex; + std::unordered_map m_VariableHash; + std::vector m_VariablesByIndex; // When adding new member DO NOT FORGET TO UPDATE GLProgramResources( GLProgramResources&& ProgramResources )!!! }; } -- cgit v1.2.3