Use std::stoi instead of atoi(<str>.c_str())
This commit is contained in:
@@ -140,7 +140,7 @@ struct SynthPass : public ScriptPass
|
||||
continue;
|
||||
}
|
||||
if (args[argidx] == "-lut") {
|
||||
lut = atoi(args[++argidx].c_str());
|
||||
lut = std::stoi(args[++argidx]);
|
||||
continue;
|
||||
}
|
||||
if (args[argidx] == "-nofsm") {
|
||||
|
||||
Reference in New Issue
Block a user