aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-10-18 12:45:45 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-10-18 12:45:45 +0300
commit4f258ea9e945a278e4914114f3e47329e309271e (patch)
tree0b0d2137f11b4cac13b151b33451139a591037a0 /src
parentadd Travis configuration (diff)
downloadwinapi-common-4f258ea9e945a278e4914114f3e47329e309271e.tar.gz
winapi-common-4f258ea9e945a278e4914114f3e47329e309271e.zip
"return std::move" is evil
Diffstat (limited to 'src')
-rw-r--r--src/process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.cpp b/src/process.cpp
index 7e3a9e7..1e0a970 100644
--- a/src/process.cpp
+++ b/src/process.cpp
@@ -52,7 +52,7 @@ Handle create_process(EscapedCommandLine cmd_line, Process::IO& io) {
Handle process{child_info.hProcess};
Handle thread{child_info.hThread};
- return std::move(process);
+ return process;
}
EscapedCommandLine escape_command_line(const CommandLine& cmd_line) {