diff options
| author | Lioncash <mai.iam2048@gmail.com> | 2023-04-18 12:50:31 -0400 |
|---|---|---|
| committer | Lioncash <mai.iam2048@gmail.com> | 2023-04-18 19:23:04 -0400 |
| commit | f1ad43afafe72fcad67d5ff39469442a2740213f (patch) | |
| tree | 1cceaa5345be540d4153ca3a6146737958f7a9c9 /Source/Core/Common/CommonFuncs.cpp | |
| parent | 361ffd5917e6c9af8c7552720cffd08bccf579b0 (diff) | |
Common/CommonFuncs: Move interface into Common namespace
Gets these functions out of the global namespace.
Diffstat (limited to 'Source/Core/Common/CommonFuncs.cpp')
| -rw-r--r-- | Source/Core/Common/CommonFuncs.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/Common/CommonFuncs.cpp b/Source/Core/Common/CommonFuncs.cpp index 68834209b3..4fdefa3a67 100644 --- a/Source/Core/Common/CommonFuncs.cpp +++ b/Source/Core/Common/CommonFuncs.cpp @@ -13,6 +13,8 @@ #define strerror_r(err, buf, len) strerror_s(buf, len, err) #endif +namespace Common +{ constexpr size_t BUFFER_SIZE = 256; // Wrapper function to get last strerror(errno) string. @@ -73,3 +75,4 @@ std::optional<std::wstring> GetModuleName(void* hInstance) return name; } #endif +} // namespace Common |
