|
|
@@ -24,8 +24,8 @@ struct update_from_destructor {
|
|
|
: storage{&ref},
|
|
|
target{other} {}
|
|
|
|
|
|
- update_from_destructor(const update_from_destructor &) = default;
|
|
|
- update_from_destructor &operator=(const update_from_destructor &) = default;
|
|
|
+ update_from_destructor(const update_from_destructor &) = delete;
|
|
|
+ update_from_destructor &operator=(const update_from_destructor &) = delete;
|
|
|
|
|
|
update_from_destructor(update_from_destructor &&other) noexcept
|
|
|
: storage{std::exchange(other.storage, nullptr)},
|