Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit07e51c4

Browse files
committed
Remove explicit call to std::move on std::string.
1 parentfc780ae commit07e51c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎include/network/uri/decode.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ inline
9595
std::stringdecoded(const std::string &input) {
9696
std::string decoded;
9797
decode(input,std::back_inserter(decoded));
98-
returnstd::move(decoded);
98+
return decoded;
9999
}
100100
}// namespace network
101101

‎include/network/uri/encode.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ inline
163163
std::stringencoded(const std::string &input) {
164164
std::string encoded;
165165
encode(input,std::back_inserter(encoded));
166-
returnstd::move(encoded);
166+
return encoded;
167167
}
168168
}// namespace network
169169

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp