diff options
Diffstat (limited to 'src/inkgc/gc-alloc.h')
| -rw-r--r-- | src/inkgc/gc-alloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inkgc/gc-alloc.h b/src/inkgc/gc-alloc.h index a92f38d7a..7a48bfa43 100644 --- a/src/inkgc/gc-alloc.h +++ b/src/inkgc/gc-alloc.h @@ -47,7 +47,7 @@ public: return std::numeric_limits<std::size_t>::max() / sizeof(T); } - pointer allocate(size_type count, void const * =NULL) { + pointer allocate(size_type count, void const * =nullptr) { return static_cast<pointer>(::operator new(count * sizeof(T), SCANNED, collect)); } |
