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 {
|
||||
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)) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue