mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-27 11:19:40 +00:00
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.
This commit is contained in:
parent
f0c9f1e2de
commit
f40a39eae1
@ -19,8 +19,8 @@
|
||||
#include "gui/widgets/styled_widget.hpp"
|
||||
#include "gui/widgets/selectable_item.hpp"
|
||||
#include "gui/widgets/widget.hpp"
|
||||
#include <functional>
|
||||
|
||||
#include <functional>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user