mirror of
https://github.com/Naios/continuable.git
synced 2025-12-08 01:36:46 +08:00
Fix the remaining copy bug in expected
This commit is contained in:
parent
71001cecc3
commit
baf47b129c
@ -154,10 +154,10 @@ template <typename Base /*, bool IsCopyable = false*/>
|
||||
struct expected_copy_base<Base, false> : expected_move_base<Base> {
|
||||
constexpr expected_copy_base() = default;
|
||||
|
||||
expected_copy_base(expected_copy_base const&) = default;
|
||||
explicit expected_copy_base(expected_copy_base&& right) = delete;
|
||||
expected_copy_base& operator=(expected_copy_base const&) = default;
|
||||
expected_copy_base& operator=(expected_copy_base&& right) = delete;
|
||||
expected_copy_base(expected_copy_base const&) = delete;
|
||||
explicit expected_copy_base(expected_copy_base&& right) = default;
|
||||
expected_copy_base& operator=(expected_copy_base const&) = delete;
|
||||
expected_copy_base& operator=(expected_copy_base&& right) = default;
|
||||
};
|
||||
} // namespace detail
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user