diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-03-12 00:08:18 +0100 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-03-12 00:08:18 +0100 |
commit | c8b73031d8a9f7770410c9d0e6da5b230e501e85 (patch) | |
tree | d458e28d72da3d343446fc8a6a6d92b3776c560a /asl/types/box.hpp | |
parent | af4e29f8c071b089fb46b5d8b964dd2b1fb3f57a (diff) |
Remove convertible_from
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)} |