mirror of
https://github.com/PabloMK7/citra.git
synced 2024-12-29 11:06:12 +00:00
Merge pull request #6196 from vitor-k/stoll-exception
Resolve C4101 warning
This commit is contained in:
commit
d09f6d97f6
|
@ -262,7 +262,7 @@ void Config::ReadValues() {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
days = std::stoll(day_string);
|
days = std::stoll(day_string);
|
||||||
} catch (std::exception& e) {
|
} catch (std::logic_error&) {
|
||||||
LOG_ERROR(Config, "Failed to parse days in init_time_offset. Using 0");
|
LOG_ERROR(Config, "Failed to parse days in init_time_offset. Using 0");
|
||||||
days = 0;
|
days = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue