fix Wsuggest-override clang-16 warnings (#3795)

This commit is contained in:
Dmitry Antipov 2022-09-09 15:34:28 +03:00 committed by GitHub
parent c0f29a89ea
commit ad125edea9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -2132,7 +2132,7 @@ public:
static std::unique_ptr<EditTrackersDialog> create(DetailsDialog& parent, Glib::RefPtr<Session> core, tr_torrent const* tor);
private:
void on_response(int response);
void on_response(int response) override;
private:
DetailsDialog& parent_;
@ -2243,7 +2243,7 @@ public:
static std::unique_ptr<AddTrackerDialog> create(DetailsDialog& parent, Glib::RefPtr<Session> core, tr_torrent const* tor);
private:
void on_response(int response);
void on_response(int response) override;
private:
DetailsDialog& parent_;

View File

@ -203,7 +203,7 @@ class DownloadingPage : public Gtk::Box
{
public:
DownloadingPage(BaseObjectType* cast_item, Glib::RefPtr<Gtk::Builder> const& builder, Glib::RefPtr<Session> const& core);
~DownloadingPage();
~DownloadingPage() override;
TR_DISABLE_COPY_MOVE(DownloadingPage)
@ -431,7 +431,7 @@ class PrivacyPage : public Gtk::Box
{
public:
PrivacyPage(BaseObjectType* cast_item, Glib::RefPtr<Gtk::Builder> const& builder, Glib::RefPtr<Session> const& core);
~PrivacyPage();
~PrivacyPage() override;
TR_DISABLE_COPY_MOVE(PrivacyPage)
@ -814,7 +814,7 @@ class SpeedPage : public Gtk::Box
public:
SpeedPage(BaseObjectType* cast_item, Glib::RefPtr<Gtk::Builder> const& builder, Glib::RefPtr<Session> const& core);
TR_DISABLE_COPY_MOVE(SpeedPage);
TR_DISABLE_COPY_MOVE(SpeedPage)
private:
void refreshSchedSensitivity();
@ -992,9 +992,9 @@ class NetworkPage : public Gtk::Box
{
public:
NetworkPage(BaseObjectType* cast_item, Glib::RefPtr<Gtk::Builder> const& builder, Glib::RefPtr<Session> const& core);
~NetworkPage();
~NetworkPage() override;
TR_DISABLE_COPY_MOVE(NetworkPage);
TR_DISABLE_COPY_MOVE(NetworkPage)
private:
void onCorePrefsChanged(tr_quark const key);