We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c60bf39 commit e874ef6Copy full SHA for e874ef6
include/network/uri/decode.hpp
@@ -96,7 +96,7 @@ inline
96
std::string decoded(const std::string &input) {
97
std::string decoded;
98
decode(input, std::back_inserter(decoded));
99
- return decoded;
+ return std::move(decoded);
100
}
101
} // namespace network
102
include/network/uri/encode.hpp
@@ -164,7 +164,7 @@ inline
164
std::string encoded(const std::string &input) {
165
std::string encoded;
166
encode(input, std::back_inserter(encoded));
167
- return encoded;
+ return std::move(encoded);
168
169
170
0 commit comments