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
@ -263,7 +263,7 @@ void DecodeResourceLimits(TBuiltInResource* resources, char* config)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const int value = std::stoi(valueStr);
|
const int value = std::atoi(valueStr.c_str());
|
||||||
|
|
||||||
if (tokenStr == "MaxLights")
|
if (tokenStr == "MaxLights")
|
||||||
resources->maxLights = value;
|
resources->maxLights = value;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user