Skip to content

Commit c72ab4f

Browse files
Refactoring generals ini parser
1 parent d87b945 commit c72ab4f

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

src/Parsers/GINIParser.cpp

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,9 @@
77
using namespace std;
88

99
#pragma region CTORs and DTORs
10-
GINIParser::GINIParser(const string& filePath) : Path(filePath)
11-
{
12-
Parse();
13-
}
14-
15-
GINIParser::GINIParser(const char* filePath) : Path(string(filePath))
16-
{
17-
Parse();
18-
}
19-
20-
GINIParser::GINIParser(const QString& filePath) : Path(filePath.toStdString())
21-
{
22-
Parse();
23-
}
10+
GINIParser::GINIParser(const string& filePath) : Path(filePath) { Parse(); }
11+
GINIParser::GINIParser(const char* filePath) : Path(string(filePath)) { Parse(); }
12+
GINIParser::GINIParser(const QString& filePath) : Path(filePath.toStdString()) { Parse(); }
2413
#pragma endregion
2514

2615
#pragma region Parsing

0 commit comments

Comments
 (0)