summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Hash.cpp
diff options
context:
space:
mode:
authorMarkus Wick <degasus@users.noreply.github.com>2018-05-16 22:04:20 +0200
committerGitHub <noreply@github.com>2018-05-16 22:04:20 +0200
commit8fa8aa3e1b31078a9ccf403a41fff622f77bfcaf (patch)
tree4aa8ff271902d1dfdd57e2bdc20fdb44fdf3f95a /Source/Core/Common/Hash.cpp
parent8ca1bf52c98b903caeb398c4d61964078f7b43df (diff)
parent011ee110bc2bd4783501a3a978e3206a1960aa79 (diff)
Merge pull request #6870 from lioncash/hash
Common/Hash: Namespace code under the Common namespace
Diffstat (limited to 'Source/Core/Common/Hash.cpp')
-rw-r--r--Source/Core/Common/Hash.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/Common/Hash.cpp b/Source/Core/Common/Hash.cpp
index 2678ab89bc..193ff5257b 100644
--- a/Source/Core/Common/Hash.cpp
+++ b/Source/Core/Common/Hash.cpp
@@ -15,6 +15,8 @@
#include <arm_acle.h>
#endif
+namespace Common
+{
static u64 (*ptrHashFunction)(const u8* src, u32 len, u32 samples) = nullptr;
// uint32_t
@@ -524,3 +526,4 @@ void SetHash64Function()
ptrHashFunction = &GetMurmurHash3;
}
}
+} // namespace Common