Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(423)

Unified Diff: net/quic/platform/api/quic_ptr_util.h

Issue 2851503002: Remove std::move from return statements. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/quic/platform/api/quic_str_cat.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/platform/api/quic_ptr_util.h
diff --git a/net/quic/platform/api/quic_ptr_util.h b/net/quic/platform/api/quic_ptr_util.h
index b5a472e1eecfacf18a4ca24d70d5dc5668c77700..89d931e132afe534ce75acdae27806d97ba53d7d 100644
--- a/net/quic/platform/api/quic_ptr_util.h
+++ b/net/quic/platform/api/quic_ptr_util.h
@@ -4,18 +4,21 @@
#ifndef NET_QUIC_PLATFORM_API_QUIC_PTR_UTIL_H_
#define NET_QUIC_PLATFORM_API_QUIC_PTR_UTIL_H_
+#include <memory>
+#include <utility>
+
#include "net/quic/platform/impl/quic_ptr_util_impl.h"
namespace net {
template <typename T, typename... Args>
std::unique_ptr<T> QuicMakeUnique(Args&&... args) {
- return std::move(QuicMakeUniqueImpl<T>(std::forward<Args>(args)...));
+ return QuicMakeUniqueImpl<T>(std::forward<Args>(args)...);
}
template <typename T>
std::unique_ptr<T> QuicWrapUnique(T* ptr) {
- return std::move(QuicWrapUniqueImpl<T>(ptr));
+ return QuicWrapUniqueImpl<T>(ptr);
}
} // namespace net
« no previous file with comments | « no previous file | net/quic/platform/api/quic_str_cat.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698