mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
fix Wsuggest-override clang-16 warnings (#3795)
This commit is contained in:
@@ -2132,7 +2132,7 @@ public:
|
|||||||
static std::unique_ptr<EditTrackersDialog> create(DetailsDialog& parent, Glib::RefPtr<Session> core, tr_torrent const* tor);
|
static std::unique_ptr<EditTrackersDialog> create(DetailsDialog& parent, Glib::RefPtr<Session> core, tr_torrent const* tor);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void on_response(int response);
|
void on_response(int response) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DetailsDialog& parent_;
|
DetailsDialog& parent_;
|
||||||
@@ -2243,7 +2243,7 @@ public:
|
|||||||
static std::unique_ptr<AddTrackerDialog> create(DetailsDialog& parent, Glib::RefPtr<Session> core, tr_torrent const* tor);
|
static std::unique_ptr<AddTrackerDialog> create(DetailsDialog& parent, Glib::RefPtr<Session> core, tr_torrent const* tor);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void on_response(int response);
|
void on_response(int response) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DetailsDialog& parent_;
|
DetailsDialog& parent_;
|
||||||
|
|||||||
@@ -203,7 +203,7 @@ class DownloadingPage : public Gtk::Box
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DownloadingPage(BaseObjectType* cast_item, Glib::RefPtr<Gtk::Builder> const& builder, Glib::RefPtr<Session> const& core);
|
DownloadingPage(BaseObjectType* cast_item, Glib::RefPtr<Gtk::Builder> const& builder, Glib::RefPtr<Session> const& core);
|
||||||
~DownloadingPage();
|
~DownloadingPage() override;
|
||||||
|
|
||||||
TR_DISABLE_COPY_MOVE(DownloadingPage)
|
TR_DISABLE_COPY_MOVE(DownloadingPage)
|
||||||
|
|
||||||
@@ -431,7 +431,7 @@ class PrivacyPage : public Gtk::Box
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
PrivacyPage(BaseObjectType* cast_item, Glib::RefPtr<Gtk::Builder> const& builder, Glib::RefPtr<Session> const& core);
|
PrivacyPage(BaseObjectType* cast_item, Glib::RefPtr<Gtk::Builder> const& builder, Glib::RefPtr<Session> const& core);
|
||||||
~PrivacyPage();
|
~PrivacyPage() override;
|
||||||
|
|
||||||
TR_DISABLE_COPY_MOVE(PrivacyPage)
|
TR_DISABLE_COPY_MOVE(PrivacyPage)
|
||||||
|
|
||||||
@@ -814,7 +814,7 @@ class SpeedPage : public Gtk::Box
|
|||||||
public:
|
public:
|
||||||
SpeedPage(BaseObjectType* cast_item, Glib::RefPtr<Gtk::Builder> const& builder, Glib::RefPtr<Session> const& core);
|
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:
|
private:
|
||||||
void refreshSchedSensitivity();
|
void refreshSchedSensitivity();
|
||||||
@@ -992,9 +992,9 @@ class NetworkPage : public Gtk::Box
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NetworkPage(BaseObjectType* cast_item, Glib::RefPtr<Gtk::Builder> const& builder, Glib::RefPtr<Session> const& core);
|
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:
|
private:
|
||||||
void onCorePrefsChanged(tr_quark const key);
|
void onCorePrefsChanged(tr_quark const key);
|
||||||
|
|||||||
Reference in New Issue
Block a user