Use nullptr instead lf C-styled NULL

This commit is contained in:
Kirill Bobyrev
2018-03-07 22:21:28 +03:00
parent 24634f2d15
commit 5cdbe6d019
22 changed files with 56 additions and 56 deletions

View File

@@ -154,14 +154,14 @@ void ColumnDepends::modify (Task& task, const std::string& value)
if (dep.length () == 37)
task.removeDependency (dep.substr (1));
else
task.removeDependency (strtol (dep.substr (1).c_str (), NULL, 10));
task.removeDependency (strtol (dep.substr (1).c_str (), nullptr, 10));
}
else
{
if (dep.length () == 36)
task.addDependency (dep);
else
task.addDependency (strtol (dep.c_str (), NULL, 10));
task.addDependency (strtol (dep.c_str (), nullptr, 10));
}
}
}