summaryrefslogtreecommitdiff
path: root/Source/Core/Common/IniFile.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-06-07 18:25:32 -0400
committerLioncash <mathew1800@gmail.com>2019-06-07 19:54:39 -0400
commitc0c0e412e05916c3f45d122b54347bae3225ccc8 (patch)
tree3adbaac0d472ae77196290d9bfe0c9cc24fcc7f3 /Source/Core/Common/IniFile.cpp
parente73a3ba1c626041f3a6e2aecda048c56680e533e (diff)
Core/ConfigManager: Use forward declarations where applicable
Avoids dragging in IniFile, EXI device and SI device headers in this header which is quite widely used throughout the codebase. This also uncovered a few cases where indirect inclusions were being relied upon, which this also fixes.
Diffstat (limited to 'Source/Core/Common/IniFile.cpp')
-rw-r--r--Source/Core/Common/IniFile.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/Common/IniFile.cpp b/Source/Core/Common/IniFile.cpp
index d059e3dd1b..65deaa1573 100644
--- a/Source/Core/Common/IniFile.cpp
+++ b/Source/Core/Common/IniFile.cpp
@@ -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)