diff options
| author | Martin Ridgers <[email protected]> | 2021-10-25 23:10:23 +0200 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-10-25 23:10:23 +0200 |
| commit | 0b7fc1267a4cdda1ee955753644afeb4ae5ab358 (patch) | |
| tree | b69d007eb3fbed5f677278d28873bd92cf113e9d /zenhttp/httpshared.cpp | |
| parent | Removed unnecessary include (diff) | |
| download | zen-0b7fc1267a4cdda1ee955753644afeb4ae5ab358.tar.xz zen-0b7fc1267a4cdda1ee955753644afeb4ae5ab358.zip | |
'return std::move(local_object)' prevents copy elision
Diffstat (limited to 'zenhttp/httpshared.cpp')
| -rw-r--r-- | zenhttp/httpshared.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zenhttp/httpshared.cpp b/zenhttp/httpshared.cpp index c703409af..ab1463559 100644 --- a/zenhttp/httpshared.cpp +++ b/zenhttp/httpshared.cpp @@ -109,7 +109,7 @@ FormatPackageMessage(const CbPackage& Data) } } - return std::move(ResponseBuffers); + return ResponseBuffers; } CbPackage |