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:
parent
574f9ded13
commit
2de180a901
1 changed files with 0 additions and 2 deletions
|
@ -47,8 +47,6 @@ class pane : public widget
|
|||
public:
|
||||
struct item
|
||||
{
|
||||
item(item&&) = default;
|
||||
|
||||
unsigned id;
|
||||
std::map<std::string, std::string> tags;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue