Make use of move semantics

This commit is contained in:
Stephan van Veen 2019-05-11 00:38:01 +02:00
parent 16ef9d84e0
commit 94e4458641

View File

@ -77,8 +77,8 @@ public:
, mIsOptional((is_optional(args) || ...))
{}
Argument& help(const std::string& aHelp) {
mHelp = aHelp;
Argument& help(std::string aHelp) {
mHelp = std::move(aHelp);
return *this;
}