diff options
Diffstat (limited to 'asl/types/box.hpp')
-rw-r--r-- | asl/types/box.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asl/types/box.hpp b/asl/types/box.hpp index bb4e620..82704d7 100644 --- a/asl/types/box.hpp +++ b/asl/types/box.hpp @@ -40,7 +40,7 @@ public: {} template<is_object U> - requires convertible_from<T*, U*> + requires convertible_to<U*, T*> constexpr box(box<U, Allocator>&& other) // NOLINT(*explicit*,*-not-moved) : m_ptr{exchange(other.m_ptr, nullptr)} , m_alloc{std::move(other.m_alloc)} |