summaryrefslogtreecommitdiffstats
path: root/src/common/hex_util.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-16 17:54:42 +0200
committerGitHub <noreply@github.com>2018-08-16 17:54:42 +0200
commit3fd78f4d24118091d6e75e950a78d5b24d50dc53 (patch)
tree837ef068281d70eb9b5d9b1d760a59794d5f1672 /src/common/hex_util.cpp
parentMerge pull request #1075 from lioncash/include (diff)
parentcommon: Namespace hex_util.h/.cpp (diff)
downloadyuzu-3fd78f4d24118091d6e75e950a78d5b24d50dc53.tar
yuzu-3fd78f4d24118091d6e75e950a78d5b24d50dc53.tar.gz
yuzu-3fd78f4d24118091d6e75e950a78d5b24d50dc53.tar.bz2
yuzu-3fd78f4d24118091d6e75e950a78d5b24d50dc53.tar.lz
yuzu-3fd78f4d24118091d6e75e950a78d5b24d50dc53.tar.xz
yuzu-3fd78f4d24118091d6e75e950a78d5b24d50dc53.tar.zst
yuzu-3fd78f4d24118091d6e75e950a78d5b24d50dc53.zip
Diffstat (limited to 'src/common/hex_util.cpp')
-rw-r--r--src/common/hex_util.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/hex_util.cpp b/src/common/hex_util.cpp
index ae17c89d4..609144def 100644
--- a/src/common/hex_util.cpp
+++ b/src/common/hex_util.cpp
@@ -4,6 +4,8 @@
#include "common/hex_util.h"
+namespace Common {
+
u8 ToHexNibble(char c1) {
if (c1 >= 65 && c1 <= 70)
return c1 - 55;
@@ -25,3 +27,5 @@ std::array<u8, 32> operator""_array32(const char* str, size_t len) {
throw std::logic_error("Not of correct size.");
return HexStringToArray<32>(str);
}
+
+} // namespace Common