summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Hash.cpp
diff options
context:
space:
mode:
authorMarkus Wick <degasus@users.noreply.github.com>2023-02-17 17:57:38 +0100
committerGitHub <noreply@github.com>2023-02-17 17:57:38 +0100
commitb381df700c8d9c958be3223e1131761eb38529d6 (patch)
treea3d71c7ddfa5c9e92bc9889190f7d40a7ed257ce /Source/Core/Common/Hash.cpp
parent28331c5905aa85c526a51c77f7128682eedd975d (diff)
parent90b676d3681286b9e92db6214e65053e4f4dbbcf (diff)
Merge pull request #11577 from JosJuice/android-armeabi-v7a
Android: Fix armeabi-v7a build
Diffstat (limited to 'Source/Core/Common/Hash.cpp')
-rw-r--r--Source/Core/Common/Hash.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Common/Hash.cpp b/Source/Core/Common/Hash.cpp
index e6b421e96f..51182a0463 100644
--- a/Source/Core/Common/Hash.cpp
+++ b/Source/Core/Common/Hash.cpp
@@ -216,15 +216,15 @@ static u32 fmix32(u32 h)
static void bmix32(u32& h1, u32& h2, u32& k1, u32& k2, u32& c1, u32& c2)
{
k1 *= c1;
- k1 = Common::RotateLeft(k1, 11);
+ k1 = std::rotl(k1, 11);
k1 *= c2;
h1 ^= k1;
h1 += h2;
- h2 = Common::RotateLeft(h2, 17);
+ h2 = std::rotl(h2, 17);
k2 *= c2;
- k2 = Common::RotateLeft(k2, 11);
+ k2 = std::rotl(k2, 11);
k2 *= c1;
h2 ^= k2;
h2 += h1;