diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-18 12:45:45 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-18 12:45:45 +0300 |
commit | 4f258ea9e945a278e4914114f3e47329e309271e (patch) | |
tree | 0b0d2137f11b4cac13b151b33451139a591037a0 /src | |
parent | add Travis configuration (diff) | |
download | winapi-common-4f258ea9e945a278e4914114f3e47329e309271e.tar.gz winapi-common-4f258ea9e945a278e4914114f3e47329e309271e.zip |
"return std::move" is evil
Diffstat (limited to 'src')
-rw-r--r-- | src/process.cpp | 2 |
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) { |