diff --git a/BeefySysLib/util/Rect.h b/BeefySysLib/util/Rect.h index 4b38d47a..b8848c99 100644 --- a/BeefySysLib/util/Rect.h +++ b/BeefySysLib/util/Rect.h @@ -119,13 +119,13 @@ typedef Rect RectD; typedef Rect RectF; typedef Rect RectI32; +NS_BF_END; + template <> -struct BeefHash +struct BeefHash { - size_t operator()(RectI32 val) + size_t operator()(Beefy::RectI32 val) { return (size_t)val.x * 4790557 + (size_t)val.y * 6578863 + (size_t)val.width * 6273881 + (size_t)val.height * 9501077; } -}; - -NS_BF_END; \ No newline at end of file +}; \ No newline at end of file