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

Use std::atoi instead of std::stoi
This commit is contained in:
John Kessenich 2016-11-01 00:08:40 -06:00 committed by GitHub
commit cf35b17c4f

View File

@ -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;