From 877fc26483f74f951eab516f1b57b136780a8c78 Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Mon, 4 Sep 2023 10:02:09 +0100 Subject: [PATCH] FilterEffectsDial: rm on own ctor breaks C++20 The `` on our constructor here is redundant anyway, but _somehow_ in C++20 it confuses the compiler and makes the file not build. Remove it! --- src/ui/dialog/filter-effects-dialog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui/dialog/filter-effects-dialog.cpp b/src/ui/dialog/filter-effects-dialog.cpp index 2c1b69dbcb6..f1be9c682f5 100644 --- a/src/ui/dialog/filter-effects-dialog.cpp +++ b/src/ui/dialog/filter-effects-dialog.cpp @@ -194,9 +194,9 @@ template class ComboWithTooltip : public ComboBoxEnum { public: - ComboWithTooltip(T default_value, const Util::EnumDataConverter& c, - const SPAttr a = SPAttr::INVALID, - Glib::ustring const& tip_text = {}) + ComboWithTooltip(T const default_value, Util::EnumDataConverter const &c, + SPAttr const a = SPAttr::INVALID, + Glib::ustring const &tip_text = {}) : ComboBoxEnum(default_value, c, a, false) { this->set_tooltip_text(tip_text); -- GitLab