Skip to content
Snippets Groups Projects
Commit 85e17547 authored by lat9nq's avatar lat9nq
Browse files

android/config: Remove uncaught usage of stoul

parent 3f52b516
No related branches found
No related tags found
No related merge requests found
...@@ -282,7 +282,7 @@ void Config::ReadValues() { ...@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment