Merge pull request #601 from GullCode/ais_app-warning-fix

Added missing contructors/operators/etc in ais_app
This commit is contained in:
Erwin Ried 2022-04-22 09:59:01 +02:00 committed by GitHub
commit 35ed394b37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 2 deletions

View File

@ -254,8 +254,18 @@ AISRecentEntryDetailView::AISRecentEntryDetailView(NavigationView& nav) {
}; };
}
AISRecentEntryDetailView::AISRecentEntryDetailView(const AISRecentEntryDetailView&Entry) : View()
{
(void)Entry;
}
AISRecentEntryDetailView & AISRecentEntryDetailView::operator=(const AISRecentEntryDetailView&Entry)
{
(void)Entry;
return *this;
} }
void AISRecentEntryDetailView::update_position() { void AISRecentEntryDetailView::update_position() {

View File

@ -127,6 +127,9 @@ public:
void focus() override; void focus() override;
void paint(Painter&) override; void paint(Painter&) override;
AISRecentEntryDetailView(const AISRecentEntryDetailView&Entry);
AISRecentEntryDetailView &operator=(const AISRecentEntryDetailView&Entry);
private: private:
AISRecentEntry entry_ { }; AISRecentEntry entry_ { };