We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 963c924 commit 25ebf8aCopy full SHA for 25ebf8a
ini/INIReader.h
@@ -279,16 +279,13 @@ inline int INIReader::ParseError() const {
279
break;
280
case -1:
281
throw std::runtime_error("ini file not found.");
282
- break;
283
case -2:
284
throw std::runtime_error("memory alloc error");
285
286
default:
287
throw std::runtime_error("parse error on line no: " +
288
std::to_string(_error));
289
290
}
291
- return _error;
+ return 0;
292
293
294
inline const std::set<std::string> INIReader::Sections() const {
0 commit comments