| 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
|
|
|