make message text default constructable
This commit is contained in:
parent
b7103de3d3
commit
5727c7482f
@ -67,6 +67,7 @@ namespace Message::Components {
|
||||
|
||||
struct MessageText {
|
||||
std::string text;
|
||||
MessageText(void) = default;
|
||||
MessageText(const std::string& view) : text(view) {}
|
||||
MessageText(const std::string_view& view) : text(view) {}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user