mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-25 19:02:45 -06:00
android/config: Remove uncaught usage of stoul
This commit is contained in:
parent
3f52b5167b
commit
85e1754728
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ void Config::ReadValues() {
|
||||||
std::stringstream ss(title_list);
|
std::stringstream ss(title_list);
|
||||||
std::string line;
|
std::string line;
|
||||||
while (std::getline(ss, line, '|')) {
|
while (std::getline(ss, line, '|')) {
|
||||||
const auto title_id = std::stoul(line, nullptr, 16);
|
const auto title_id = std::strtoul(line.c_str(), nullptr, 16);
|
||||||
const auto disabled_list = config->Get("AddOns", "disabled_" + line, "");
|
const auto disabled_list = config->Get("AddOns", "disabled_" + line, "");
|
||||||
|
|
||||||
std::stringstream inner_ss(disabled_list);
|
std::stringstream inner_ss(disabled_list);
|
||||||
|
|
Loading…
Reference in a new issue