diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2021-02-01 21:49:50 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2021-02-01 22:32:05 +0000 |
| commit | 1e6e1d278f602601cb772f421b0ec95bf25ecf4a (patch) | |
| tree | 3be08ae7f8bc0322df3c4ad517db2f42e664d241 /Common/interface | |
| parent | BacicMath.hpp: fixed clang/gcc build issue (diff) | |
| download | DiligentCore-1e6e1d278f602601cb772f421b0ec95bf25ecf4a.tar.gz DiligentCore-1e6e1d278f602601cb772f421b0ec95bf25ecf4a.zip | |
Fixed gcc/clang errors
Diffstat (limited to 'Common/interface')
| -rw-r--r-- | Common/interface/HashUtils.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 <typename T> void HashCombine(std::size_t& Seed, const T& Val) { - Seed ^= std::hash<T>()(Val) + 0x9e3779b9 + (Seed << 6) + (Seed >> 2); + Seed ^= std::hash<T>{}(Val) + 0x9e3779b9 + (Seed << 6) + (Seed >> 2); } template <typename FirstArgType, typename... RestArgsType> |
