aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/httpshared.cpp
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-10-25 23:10:23 +0200
committerMartin Ridgers <[email protected]>2021-10-25 23:10:23 +0200
commit0b7fc1267a4cdda1ee955753644afeb4ae5ab358 (patch)
treeb69d007eb3fbed5f677278d28873bd92cf113e9d /zenhttp/httpshared.cpp
parentRemoved unnecessary include (diff)
downloadzen-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.cpp2
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