Browse Source

use ifstream

Patrick Brosi 6 years ago
parent
commit
c1b61ce293
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ConfigFileParser.cpp

+ 1 - 1
ConfigFileParser.cpp

@@ -21,7 +21,7 @@ void ConfigFileParser::parse(const std::string& path) {
21 21
   std::set<std::string> headers;
22 22
   KeyVals curKV;
23 23
   std::string tmp, tmp2;
24
-  std::fstream is(path);
24
+  std::ifstream is(path);
25 25
   char c;
26 26
   size_t l = 1, pos = 0, valLine = 0, valPos = 0;
27 27