From 49685c39895af67d7ffcc50fdc02150b6ee44f72 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Tue, 5 Apr 2022 22:01:53 -0400 Subject: fix up a bunch of clang-tidy stuff mostly changing references, which i hope doesnt break stuff with models (TreeRow, iterators) since they gave me some strange problems in the past --- src/components/channelscellrenderer.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/channelscellrenderer.hpp') diff --git a/src/components/channelscellrenderer.hpp b/src/components/channelscellrenderer.hpp index 95ff4fe..e2be9b2 100644 --- a/src/components/channelscellrenderer.hpp +++ b/src/components/channelscellrenderer.hpp @@ -18,7 +18,7 @@ enum class RenderType : uint8_t { class CellRendererChannels : public Gtk::CellRenderer { public: CellRendererChannels(); - virtual ~CellRendererChannels(); + ~CellRendererChannels() override = default; Glib::PropertyProxy property_type(); Glib::PropertyProxy property_id(); @@ -106,7 +106,7 @@ protected: Gtk::CellRendererState flags); static void cairo_path_rounded_rect(const Cairo::RefPtr &cr, double x, double y, double w, double h, double r); - void unread_render_mentions(const Cairo::RefPtr &cr, Gtk::Widget &widget, int mentions, int edge, const Gdk::Rectangle &cell_area); + static void unread_render_mentions(const Cairo::RefPtr &cr, Gtk::Widget &widget, int mentions, int edge, const Gdk::Rectangle &cell_area); private: Gtk::CellRendererText m_renderer_text; -- cgit v1.2.3