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

Unified Diff: net/quic/platform/impl/quic_ptr_util_impl.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 | « net/quic/platform/api/quic_str_cat.h ('k') | net/quic/platform/impl/quic_str_cat_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/platform/impl/quic_ptr_util_impl.h
diff --git a/net/quic/platform/impl/quic_ptr_util_impl.h b/net/quic/platform/impl/quic_ptr_util_impl.h
index b41ea4ec961940f97231ba80430f05c8bcfc10ba..93fe585a6162ca73e0c7ec2da4f0b9cfc9ad7c3f 100644
--- a/net/quic/platform/impl/quic_ptr_util_impl.h
+++ b/net/quic/platform/impl/quic_ptr_util_impl.h
@@ -10,12 +10,12 @@ namespace net {
template <typename T, typename... Args>
std::unique_ptr<T> QuicMakeUniqueImpl(Args&&... args) {
- return std::move(base::MakeUnique<T>(std::forward<Args>(args)...));
+ return base::MakeUnique<T>(std::forward<Args>(args)...);
}
template <typename T>
std::unique_ptr<T> QuicWrapUniqueImpl(T* ptr) {
- return std::move(base::WrapUnique<T>(ptr));
+ return base::WrapUnique<T>(ptr);
}
} // namespace net
« no previous file with comments | « net/quic/platform/api/quic_str_cat.h ('k') | net/quic/platform/impl/quic_str_cat_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698