Add a default constructor to a struct in StandardComponents.hpp.
This commit is contained in:
parent
9ade88b6aa
commit
829e53080c
|
@ -7,6 +7,7 @@ namespace StdComponents {
|
||||||
struct String: public ParseComponent {
|
struct String: public ParseComponent {
|
||||||
string content;
|
string content;
|
||||||
explicit String(const string& str) { content = str; }
|
explicit String(const string& str) { content = str; }
|
||||||
|
String() = default;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue