mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-22 06:41:08 +00:00
Common: Move 'GetSection' functions to be public
This commit is contained in:
parent
9d0983c9c9
commit
158674c274
@ -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<Section> sections;
|
||||
|
||||
const Section* GetSection(std::string_view section_name) const;
|
||||
Section* GetSection(std::string_view section_name);
|
||||
|
||||
static const std::string& NULL_STRING;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user