mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Linux fix
This commit is contained in:
parent
c3ad1b9ed1
commit
bdf32875ff
1 changed files with 5 additions and 5 deletions
|
@ -119,13 +119,13 @@ typedef Rect<double> RectD;
|
||||||
typedef Rect<float> RectF;
|
typedef Rect<float> RectF;
|
||||||
typedef Rect<int32> RectI32;
|
typedef Rect<int32> RectI32;
|
||||||
|
|
||||||
|
NS_BF_END;
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
struct BeefHash<RectI32>
|
struct BeefHash<Beefy::RectI32>
|
||||||
{
|
{
|
||||||
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;
|
return (size_t)val.x * 4790557 + (size_t)val.y * 6578863 + (size_t)val.width * 6273881 + (size_t)val.height * 9501077;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_BF_END;
|
|
Loading…
Add table
Add a link
Reference in a new issue