aboutsummaryrefslogtreecommitdiffstats
path: root/src/SimpleHandlers.cpp
diff options
context:
space:
mode:
authorNiklas Halle <niklas@niklashalle.net>2020-08-26 17:19:19 +0200
committerNiklas Halle <niklas@niklashalle.net>2020-08-26 17:19:19 +0200
commitc5ea2cf0d741e7ced6bd32e4a013a21be3755394 (patch)
tree55e7da929f3956a90b12f67e45155a09824b949a /src/SimpleHandlers.cpp
parent83572f021f3b23a9046f1988e6e0443ed6295df3 (diff)
downloadn_core-c5ea2cf0d741e7ced6bd32e4a013a21be3755394.tar.gz
n_core-c5ea2cf0d741e7ced6bd32e4a013a21be3755394.zip
more indirection always helps, right?test/new_server
Diffstat (limited to 'src/SimpleHandlers.cpp')
-rw-r--r--src/SimpleHandlers.cpp2
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)));