summaryrefslogtreecommitdiff
path: root/src/core/alloc_type.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/alloc_type.hpp')
-rw-r--r--src/core/alloc_type.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/alloc_type.hpp b/src/core/alloc_type.hpp
index 5ea812b0e..685ff9890 100644
--- a/src/core/alloc_type.hpp
+++ b/src/core/alloc_type.hpp
@@ -73,7 +73,7 @@ private:
public:
/** Create a new buffer */
- ReusableBuffer() : buffer(NULL), count(0) {}
+ ReusableBuffer() : buffer(nullptr), count(0) {}
/** Clear the buffer */
~ReusableBuffer() { free(this->buffer); }