diff options
| author | 2018-08-15 23:16:11 -0400 | |
|---|---|---|
| committer | 2018-08-15 23:24:00 -0400 | |
| commit | b39cd70cd4a78903506d987080fe5e4a0e990f2d (patch) | |
| tree | 64b90ace1c02e926a94d4b6dfa37377503dbca26 /src/common/hex_util.h | |
| parent | Merge pull request #1005 from DarkLordZach/registered-fmt (diff) | |
| download | yuzu-b39cd70cd4a78903506d987080fe5e4a0e990f2d.tar.gz yuzu-b39cd70cd4a78903506d987080fe5e4a0e990f2d.tar.xz yuzu-b39cd70cd4a78903506d987080fe5e4a0e990f2d.zip | |
common: Namespace hex_util.h/.cpp
It's in the common code, so it should be under the Common namespace like
everything else.
Diffstat (limited to 'src/common/hex_util.h')
| -rw-r--r-- | src/common/hex_util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/hex_util.h b/src/common/hex_util.h index 13d586015..5fb79bb72 100644 --- a/src/common/hex_util.h +++ b/src/common/hex_util.h | |||
| @@ -10,6 +10,8 @@ | |||
| 10 | #include <fmt/format.h> | 10 | #include <fmt/format.h> |
| 11 | #include "common/common_types.h" | 11 | #include "common/common_types.h" |
| 12 | 12 | ||
| 13 | namespace Common { | ||
| 14 | |||
| 13 | u8 ToHexNibble(char c1); | 15 | u8 ToHexNibble(char c1); |
| 14 | 16 | ||
| 15 | template <size_t Size, bool le = false> | 17 | template <size_t Size, bool le = false> |
| @@ -35,3 +37,5 @@ std::string HexArrayToString(std::array<u8, Size> array, bool upper = true) { | |||
| 35 | 37 | ||
| 36 | std::array<u8, 0x10> operator"" _array16(const char* str, size_t len); | 38 | std::array<u8, 0x10> operator"" _array16(const char* str, size_t len); |
| 37 | std::array<u8, 0x20> operator"" _array32(const char* str, size_t len); | 39 | std::array<u8, 0x20> operator"" _array32(const char* str, size_t len); |
| 40 | |||
| 41 | } // namespace Common | ||