From 1e6e1d278f602601cb772f421b0ec95bf25ecf4a Mon Sep 17 00:00:00 2001 From: assiduous Date: Mon, 1 Feb 2021 13:49:50 -0800 Subject: Fixed gcc/clang errors --- Common/interface/HashUtils.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Common/interface') diff --git a/Common/interface/HashUtils.hpp b/Common/interface/HashUtils.hpp index 69c420f1..5b2443c9 100644 --- a/Common/interface/HashUtils.hpp +++ b/Common/interface/HashUtils.hpp @@ -43,7 +43,7 @@ namespace Diligent template void HashCombine(std::size_t& Seed, const T& Val) { - Seed ^= std::hash()(Val) + 0x9e3779b9 + (Seed << 6) + (Seed >> 2); + Seed ^= std::hash{}(Val) + 0x9e3779b9 + (Seed << 6) + (Seed >> 2); } template -- cgit v1.2.3