From f1ad43afafe72fcad67d5ff39469442a2740213f Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 18 Apr 2023 12:50:31 -0400 Subject: Common/CommonFuncs: Move interface into Common namespace Gets these functions out of the global namespace. --- Source/Core/Common/CommonFuncs.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/Core/Common/CommonFuncs.cpp') 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 GetModuleName(void* hInstance) return name; } #endif +} // namespace Common -- cgit v1.2.3