summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/unique_ptr.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unique_ptr.hh b/src/unique_ptr.hh
index 86f9ac86..afe0e2d8 100644
--- a/src/unique_ptr.hh
+++ b/src/unique_ptr.hh
@@ -15,7 +15,7 @@ class UniquePtr
public:
explicit UniquePtr(Type* ptr = nullptr) : m_ptr{ptr} {}
- UniquePtr(nullptr_t) : m_ptr{nullptr} {}
+ UniquePtr(std::nullptr_t) : m_ptr{nullptr} {}
UniquePtr(const UniquePtr&) = delete;
UniquePtr& operator=(const UniquePtr&) = delete;