From b39cd70cd4a78903506d987080fe5e4a0e990f2d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 15 Aug 2018 23:16:11 -0400 Subject: common: Namespace hex_util.h/.cpp It's in the common code, so it should be under the Common namespace like everything else. --- src/common/hex_util.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/common/hex_util.cpp') 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 operator""_array32(const char* str, size_t len) { throw std::logic_error("Not of correct size."); return HexStringToArray<32>(str); } + +} // namespace Common -- cgit v1.2.3