summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmdline/detail/cmdline_parse_argument_detail.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/detail/cmdline_parse_argument_detail.h b/cmdline/detail/cmdline_parse_argument_detail.h
index 2fee27c067..65c11146aa 100644
--- a/cmdline/detail/cmdline_parse_argument_detail.h
+++ b/cmdline/detail/cmdline_parse_argument_detail.h
@@ -443,7 +443,7 @@ struct CmdlineParseArgument : CmdlineParseArgumentAny {
assert(!argument_info_.has_range_);
- return result;
+ return std::move(result);
}
CmdlineParseResult<TArg> result = type_parser.Parse(argument);