diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2023-04-14 20:52:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-14 20:52:30 +0200 |
| commit | e9dbb93cb56bb48666295c211364f47857cfdaa3 (patch) | |
| tree | 144f659a26c95a2d3db33389b9efc6558c321c7f /Source/Core/Common | |
| parent | ae18aa0639bdf2d51c8bf738bd7f794d89aa22e4 (diff) | |
| parent | e4caace6bb6213851b979cdd76f9f44ef6d9cd09 (diff) | |
Merge pull request #11756 from lioncash/ini
Common/IniFile: Move interface into Common namespace
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/IniFile.cpp | 3 | ||||
| -rw-r--r-- | Source/Core/Common/IniFile.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/Common/IniFile.cpp b/Source/Core/Common/IniFile.cpp index 41f1917fef..2aed1b805f 100644 --- a/Source/Core/Common/IniFile.cpp +++ b/Source/Core/Common/IniFile.cpp @@ -15,6 +15,8 @@ #include "Common/FileUtil.h" #include "Common/StringUtil.h" +namespace Common +{ void IniFile::ParseLine(std::string_view line, std::string* keyOut, std::string* valueOut) { if (line.empty() || line.front() == '#') @@ -369,3 +371,4 @@ bool IniFile::Save(const std::string& filename) return 0; } */ +} // namespace Common diff --git a/Source/Core/Common/IniFile.h b/Source/Core/Common/IniFile.h index 9de68a3246..c37be55f43 100644 --- a/Source/Core/Common/IniFile.h +++ b/Source/Core/Common/IniFile.h @@ -13,6 +13,8 @@ #include "Common/CommonTypes.h" #include "Common/StringUtil.h" +namespace Common +{ struct CaseInsensitiveStringCompare { // Allow heterogenous lookup. @@ -166,3 +168,4 @@ private: static const std::string& NULL_STRING; }; +} // namespace Common |
