GUI2/Pane: fixed compilation with C++20

C++20 makes aggregate initialization more restrictive. Any user-defined, rather than just use-provided,
constructor is forbidden for an aggregate class, including defaulted ones.
This commit is contained in:
Charles Dang 2024-01-04 13:53:07 -05:00
parent 574f9ded13
commit 2de180a901

View file

@ -47,8 +47,6 @@ class pane : public widget
public:
struct item
{
item(item&&) = default;
unsigned id;
std::map<std::string, std::string> tags;