mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-07 21:07:20 +02:00
Use nullptr instead lf C-styled NULL
This commit is contained in:
parent
24634f2d15
commit
5cdbe6d019
22 changed files with 56 additions and 56 deletions
|
@ -1734,8 +1734,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 = strtol (r->first.c_str (), nullptr, 10);
|
||||
int high = strtol (r->second.c_str (), nullptr, 10);
|
||||
if (low <= high)
|
||||
ascending = true;
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue