From ff6cb3b468a0d4caf87c2291818d24e0a6d12b39 Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 30 Nov 2021 15:26:16 +0800 Subject: ... --- include/cru/platform/Color.hpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'include/cru/platform') diff --git a/include/cru/platform/Color.hpp b/include/cru/platform/Color.hpp index f60ab692..94c6c485 100644 --- a/include/cru/platform/Color.hpp +++ b/include/cru/platform/Color.hpp @@ -1,10 +1,9 @@ #pragma once +#include "cru/common/Base.hpp" #include "cru/platform/Base.hpp" #include "cru/common/String.hpp" -#include - #include #include #include @@ -243,10 +242,10 @@ template <> struct std::hash { std::size_t operator()(const cru::platform::Color& color) const { std::size_t seed = 0; - boost::hash_combine(seed, color.red); - boost::hash_combine(seed, color.green); - boost::hash_combine(seed, color.blue); - boost::hash_combine(seed, color.alpha); + cru::hash_combine(seed, color.red); + cru::hash_combine(seed, color.green); + cru::hash_combine(seed, color.blue); + cru::hash_combine(seed, color.alpha); return seed; } }; -- cgit v1.2.3