Merge pull request #8163 from lioncash/config

Core/ConfigManager: Use forward declarations where applicable
This commit is contained in:
Connor McLaughlin
2019-06-08 20:01:15 +10:00
committed by GitHub
16 changed files with 36 additions and 11 deletions

View File

@ -121,6 +121,10 @@ bool IniFile::Section::GetLines(std::vector<std::string>* lines, const bool remo
// IniFile
IniFile::IniFile() = default;
IniFile::~IniFile() = default;
const IniFile::Section* IniFile::GetSection(const std::string& sectionName) const
{
for (const Section& sect : sections)

View File

@ -86,6 +86,9 @@ public:
std::vector<std::string> m_lines;
};
IniFile();
~IniFile();
/**
* Loads sections and keys.
* @param filename filename of the ini file which should be loaded