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 f1c8173 commit 513c094Copy full SHA for 513c094
ini/ini.h
@@ -433,7 +433,7 @@ inline std::vector<T> INIReader::GetVector(const std::string& section,
433
vs.emplace_back(Converter<T>(s));
434
}
435
return vs;
436
- } catch (std::exception& e) {
+ } catch (std::exception&) {
437
throw std::runtime_error("cannot parse value " + value +
438
" to vector<T>.");
439
@@ -558,7 +558,7 @@ inline T INIReader::Converter(const std::string& s) const {
558
_.exceptions(std::ios::failbit);
559
_ >> v;
560
return v;
561
562
throw std::runtime_error("cannot parse value '" + s + "' to type<T>.");
563
};
564
0 commit comments