From 5727c7482fa363b069c4f3d667d231d7d55070fb Mon Sep 17 00:00:00 2001 From: Green Sky Date: Sat, 17 Feb 2024 11:43:32 +0100 Subject: [PATCH] make message text default constructable --- 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 40fd406..4de3856 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(void) = default; MessageText(const std::string& view) : text(view) {} MessageText(const std::string_view& view) : text(view) {} };