Cleanup: replace NULL with nullptr for C++ files

This commit is contained in:
2022-08-28 20:52:28 +10:00
parent 7269ee4dbb
commit 28750bcf7e
24 changed files with 157 additions and 156 deletions

View File

@@ -84,11 +84,11 @@ class Task {
free_taskdata(other.free_taskdata),
freedata(other.freedata)
{
((Task &)other).pool = NULL;
((Task &)other).run = NULL;
((Task &)other).taskdata = NULL;
((Task &)other).pool = nullptr;
((Task &)other).run = nullptr;
((Task &)other).taskdata = nullptr;
((Task &)other).free_taskdata = false;
((Task &)other).freedata = NULL;
((Task &)other).freedata = nullptr;
}
#else
Task(const Task &other) = delete;