summaryrefslogtreecommitdiff
path: root/asl/box.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'asl/box.hpp')
-rw-r--r--asl/box.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/asl/box.hpp b/asl/box.hpp
index 491338f..d018c03 100644
--- a/asl/box.hpp
+++ b/asl/box.hpp
@@ -16,7 +16,7 @@ class box
ASL_NO_UNIQUE_ADDRESS Allocator m_alloc;
public:
- explicit constexpr box(niche)
+ explicit constexpr box(niche_t)
requires default_constructible<Allocator>
: m_ptr{nullptr}
, m_alloc{}
@@ -78,7 +78,7 @@ public:
return m_ptr;
}
- constexpr bool operator==(niche) const
+ constexpr bool operator==(niche_t) const
{
return m_ptr == nullptr;
}