fix Wsuggest-override clang-16 warnings (#3795)
This commit is contained in:
parent
c0f29a89ea
commit
ad125edea9
|
@ -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_;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue