CLI2: Converted from strtol to std::stoi
This commit is contained in:
@@ -1772,8 +1772,8 @@ void CLI2::insertIDExpr ()
|
||||
else
|
||||
{
|
||||
bool ascending = true;
|
||||
int low = strtol (r->first.c_str (), NULL, 10);
|
||||
int high = strtol (r->second.c_str (), NULL, 10);
|
||||
int low = std::stoi (r->first);
|
||||
int high = std::stoi (r->second);
|
||||
if (low <= high)
|
||||
ascending = true;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user