diff options
Diffstat (limited to 'src/SimpleHandlers.cpp')
-rw-r--r-- | src/SimpleHandlers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<json> 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))); |