From 158674c274228fc88cec318959d28a3661126a99 Mon Sep 17 00:00:00 2001 From: iwubcode Date: Sat, 27 Feb 2021 12:21:23 -0600 Subject: [PATCH] Common: Move 'GetSection' functions to be public --- Source/Core/Common/IniFile.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/Core/Common/IniFile.h b/Source/Core/Common/IniFile.h index cdcd48c7ef..9b36ec1017 100644 --- a/Source/Core/Common/IniFile.h +++ b/Source/Core/Common/IniFile.h @@ -154,6 +154,8 @@ public: void SortSections(); Section* GetOrCreateSection(std::string_view section_name); + const Section* GetSection(std::string_view section_name) const; + Section* GetSection(std::string_view section_name); // This function is related to parsing data from lines of INI files // It's used outside of IniFile, which is why it is exposed publicly @@ -165,8 +167,5 @@ public: private: std::list
sections; - const Section* GetSection(std::string_view section_name) const; - Section* GetSection(std::string_view section_name); - static const std::string& NULL_STRING; };