summaryrefslogtreecommitdiff
path: root/Source/Core/Common/CommonFuncs.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-04-19 10:38:22 +0200
committerGitHub <noreply@github.com>2023-04-19 10:38:22 +0200
commit2a0b90807d47285af427852e59d5af381923b2b6 (patch)
tree7672f8d545abb19632da01739a7dffe43cae9f47 /Source/Core/Common/CommonFuncs.cpp
parent4d1864e5b2cd1fcf712ca8c366641829227f0bb2 (diff)
parentf1ad43afafe72fcad67d5ff39469442a2740213f (diff)
Merge pull request #11770 from lioncash/err
Common/CommonFuncs: Move interface into Common namespace
Diffstat (limited to 'Source/Core/Common/CommonFuncs.cpp')
-rw-r--r--Source/Core/Common/CommonFuncs.cpp3
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