From c5ea2cf0d741e7ced6bd32e4a013a21be3755394 Mon Sep 17 00:00:00 2001 From: Niklas Halle Date: Wed, 26 Aug 2020 17:19:19 +0200 Subject: more indirection always helps, right? --- src/SimpleHandlers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/SimpleHandlers.cpp') diff --git a/src/SimpleHandlers.cpp b/src/SimpleHandlers.cpp index 5b68125..e4ce4ac 100644 --- a/src/SimpleHandlers.cpp +++ b/src/SimpleHandlers.cpp @@ -38,7 +38,7 @@ Handler::json Handler::helpHandler(std::string const &arguments, std::string con std::vector commandAnnotations; commandAnnotations.emplace_back( - create_annotation(Reply::AnnotationType::command, std::move(*itor.description))); + create_annotation(Reply::AnnotationType::command, std::move(itor.get_description()))); reply_vec.emplace_back(create_text("- ")); reply_vec.emplace_back(create_text(itor.command, std::move(commandAnnotations))); -- cgit v1.2.3-54-g00ecf