From 6e4d6abd1c72c279be82b0e6198ece43248204f5 Mon Sep 17 00:00:00 2001 From: Kah Wei Date: Sat, 17 Sep 2022 23:37:16 +0800 Subject: [PATCH] Fixed Handle<> include issues --- .../src/Graphics/MiddleEnd/Pipeline/SHPipelineLibrary.h | 2 +- SHADE_Engine/src/Resource/Handle.hpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/SHADE_Engine/src/Graphics/MiddleEnd/Pipeline/SHPipelineLibrary.h b/SHADE_Engine/src/Graphics/MiddleEnd/Pipeline/SHPipelineLibrary.h index 264caca5..52cb8e9c 100644 --- a/SHADE_Engine/src/Graphics/MiddleEnd/Pipeline/SHPipelineLibrary.h +++ b/SHADE_Engine/src/Graphics/MiddleEnd/Pipeline/SHPipelineLibrary.h @@ -23,7 +23,7 @@ namespace SHADE template std::size_t operator() (std::pair const& pair) const { - return std::hash()(pair.first.GetId()) ^ std::hash()(pair.second.GetId()); + return std::hash(pair.first.GetId()) ^ std::hash(pair.second.GetId()); } }; diff --git a/SHADE_Engine/src/Resource/Handle.hpp b/SHADE_Engine/src/Resource/Handle.hpp index 0c6e6bf4..64918e0f 100644 --- a/SHADE_Engine/src/Resource/Handle.hpp +++ b/SHADE_Engine/src/Resource/Handle.hpp @@ -1,6 +1,7 @@ #pragma once // Primary Header #include "Handle.h" +#include "ResourceLibrary.h" namespace SHADE {