mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-24 13:34:57 +00:00
Common: Move 'GetSection' functions to be public
This commit is contained in:
parent
9d0983c9c9
commit
158674c274
1 changed files with 2 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue