From bdf32875ff390d1d133c3bc60f285250a5a296f1 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Mon, 7 Apr 2025 15:08:57 -0400 Subject: [PATCH] Linux fix --- BeefySysLib/util/Rect.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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