Remove unused copy-constructor from BoxShow.

This commit is contained in:
John Preston 2023-05-17 16:28:26 +04:00
parent f0225406ec
commit 303a07f946

View file

@ -24,8 +24,8 @@ namespace {
class BoxShow final : public Show {
public:
explicit BoxShow(not_null<Ui::BoxContent*> box);
BoxShow(const BoxShow &other);
~BoxShow();
void showBox(
object_ptr<BoxContent> content,
LayerOptions options = LayerOption::KeepOther) const override;
@ -49,10 +49,6 @@ BoxShow::BoxShow(not_null<BoxContent*> box)
: BoxShow(MakeWeak(box.get()), nullptr) {
}
BoxShow::BoxShow(const BoxShow &other)
: BoxShow(other._weak, other._wrapped) {
}
BoxShow::BoxShow(QPointer<BoxContent> weak, ShowPtr wrapped)
: _weak(weak)
, _wrapped(std::move(wrapped)) {