Commit 0d023410 authored by Dominik Charousset's avatar Dominik Charousset

Fix initialization of cli_arg

parent 585cd8b5
...@@ -341,8 +341,8 @@ message::cli_arg::cli_arg(std::string nstr, std::string tstr) ...@@ -341,8 +341,8 @@ message::cli_arg::cli_arg(std::string nstr, std::string tstr)
} }
message::cli_arg::cli_arg(std::string nstr, std::string tstr, consumer f) message::cli_arg::cli_arg(std::string nstr, std::string tstr, consumer f)
: name(std::move(name)), : name(std::move(nstr)),
text(std::move(text)), text(std::move(tstr)),
fun(std::move(f)) { fun(std::move(f)) {
// nop // nop
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment