Remove unused copy-constructor from BoxShow.
This commit is contained in:
parent
f0225406ec
commit
303a07f946
1 changed files with 1 additions and 5 deletions
|
|
@ -24,8 +24,8 @@ namespace {
|
||||||
class BoxShow final : public Show {
|
class BoxShow final : public Show {
|
||||||
public:
|
public:
|
||||||
explicit BoxShow(not_null<Ui::BoxContent*> box);
|
explicit BoxShow(not_null<Ui::BoxContent*> box);
|
||||||
BoxShow(const BoxShow &other);
|
|
||||||
~BoxShow();
|
~BoxShow();
|
||||||
|
|
||||||
void showBox(
|
void showBox(
|
||||||
object_ptr<BoxContent> content,
|
object_ptr<BoxContent> content,
|
||||||
LayerOptions options = LayerOption::KeepOther) const override;
|
LayerOptions options = LayerOption::KeepOther) const override;
|
||||||
|
|
@ -49,10 +49,6 @@ BoxShow::BoxShow(not_null<BoxContent*> box)
|
||||||
: BoxShow(MakeWeak(box.get()), nullptr) {
|
: BoxShow(MakeWeak(box.get()), nullptr) {
|
||||||
}
|
}
|
||||||
|
|
||||||
BoxShow::BoxShow(const BoxShow &other)
|
|
||||||
: BoxShow(other._weak, other._wrapped) {
|
|
||||||
}
|
|
||||||
|
|
||||||
BoxShow::BoxShow(QPointer<BoxContent> weak, ShowPtr wrapped)
|
BoxShow::BoxShow(QPointer<BoxContent> weak, ShowPtr wrapped)
|
||||||
: _weak(weak)
|
: _weak(weak)
|
||||||
, _wrapped(std::move(wrapped)) {
|
, _wrapped(std::move(wrapped)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue