From b7103de3d37df0b851ddc781608eb4e46d20bb5b Mon Sep 17 00:00:00 2001 From: Green Sky Date: Thu, 15 Feb 2024 18:34:06 +0100 Subject: [PATCH] help with string conversion --- src/solanaceae/message3/components.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/solanaceae/message3/components.hpp b/src/solanaceae/message3/components.hpp index b37185b..40fd406 100644 --- a/src/solanaceae/message3/components.hpp +++ b/src/solanaceae/message3/components.hpp @@ -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) {} };