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