From f40a39eae166d2225169f8d2d01b0fa7f5de9a58 Mon Sep 17 00:00:00 2001 From: Charles Dang Date: Sun, 14 Nov 2021 22:02:27 -0500 Subject: [PATCH] GUI2/Group: fixed compile error when specializing with a scoped enum Should maybe find a better way to have it actually print the value but I can't think of a good general way to do it. --- src/gui/widgets/group.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/widgets/group.hpp b/src/gui/widgets/group.hpp index 2911e1b434e..ac1e9f9e09a 100644 --- a/src/gui/widgets/group.hpp +++ b/src/gui/widgets/group.hpp @@ -19,8 +19,8 @@ #include "gui/widgets/styled_widget.hpp" #include "gui/widgets/selectable_item.hpp" #include "gui/widgets/widget.hpp" -#include +#include #include #include @@ -45,7 +45,7 @@ public: std::tie(std::ignore, success) = members_.emplace(value, w); if(!success) { - ERR_GUI_G << "Group member with value " << value << "already exists." << std::endl; + ERR_GUI_G << "Group member with value already exists." << std::endl; return; }