Commit cf35b17c by John Kessenich Committed by GitHub

Merge pull request #574 from dneto0/android-has-no-std-stoi

Use std::atoi instead of std::stoi
parents e19e68d4 e301f678
......@@ -263,7 +263,7 @@ void DecodeResourceLimits(TBuiltInResource* resources, char* config)
return;
}
const int value = std::stoi(valueStr);
const int value = std::atoi(valueStr.c_str());
if (tokenStr == "MaxLights")
resources->maxLights = value;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment