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/GraphicsEngine/include/ResourceMappingImpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/include/ResourceMappingImpl.h b/Graphics/GraphicsEngine/include/ResourceMappingImpl.h index 493ef596..ae0b4734 100644 --- a/Graphics/GraphicsEngine/include/ResourceMappingImpl.h +++ b/Graphics/GraphicsEngine/include/ResourceMappingImpl.h @@ -56,7 +56,7 @@ namespace Diligent { if( Hash == 0 ) { - Hash = ComputeHash( StrKey, ArrayIndex ); + Hash = ComputeHash( StrKey.GetHash(), ArrayIndex ); } return Hash; -- cgit v1.2.3