Merge pull request #574 from dneto0/android-has-no-std-stoi
Use std::atoi instead of std::stoi
This commit is contained in:
commit
cf35b17c4f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue