help with string conversion

This commit is contained in:
Green Sky 2024-02-15 18:34:06 +01:00
parent c73f727adc
commit b7103de3d3
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ namespace Message::Components {
struct MessageText {
std::string text;
MessageText(const std::string& view) : text(view) {}
MessageText(const std::string_view& view) : text(view) {}
};