diff options
Diffstat (limited to 'src/linkgraph/linkgraphjob.h')
-rw-r--r-- | src/linkgraph/linkgraphjob.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linkgraph/linkgraphjob.h b/src/linkgraph/linkgraphjob.h index e52d2412d..a20a2025c 100644 --- a/src/linkgraph/linkgraphjob.h +++ b/src/linkgraph/linkgraphjob.h @@ -403,9 +403,9 @@ public: */ inline void Detach() { - if (this->parent != NULL) { + if (this->parent != nullptr) { this->parent->num_children--; - this->parent = NULL; + this->parent = nullptr; } } |