summaryrefslogtreecommitdiffstats
path: root/src/gc-anchored.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gc-anchored.h')
-rw-r--r--src/gc-anchored.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gc-anchored.h b/src/gc-anchored.h
index 772621eb2..04fb93436 100644
--- a/src/gc-anchored.h
+++ b/src/gc-anchored.h
@@ -55,12 +55,12 @@ public:
}
protected:
- Anchored() : _anchor(NULL) { anchor(); } // initial refcount of one
+ Anchored() : _anchor(nullptr) { anchor(); } // initial refcount of one
virtual ~Anchored() {}
private:
struct Anchor : public Managed<SCANNED, MANUAL> {
- Anchor() : refcount(0),base(NULL) {}
+ Anchor() : refcount(0),base(nullptr) {}
Anchor(Anchored const *obj) : refcount(0) {
base = Core::base(const_cast<Anchored *>(obj));
}