projects
/
platform
/
upstream
/
glslang.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use std::atoi instead of std::stoi
[platform/upstream/glslang.git]
/
StandAlone
/
ResourceLimits.cpp
diff --git
a/StandAlone/ResourceLimits.cpp
b/StandAlone/ResourceLimits.cpp
index
10ede09
..
e22ec80
100644
(file)
--- a/
StandAlone/ResourceLimits.cpp
+++ b/
StandAlone/ResourceLimits.cpp
@@
-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;