blob: 71045e1c30e18dc61bc90b2b9259bbb5e0a251fc [file] [log] [blame]
// Copyright (c) 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef QUICHE_QUIC_PLATFORM_API_QUIC_PTR_UTIL_H_
#define QUICHE_QUIC_PLATFORM_API_QUIC_PTR_UTIL_H_
#include <memory>
#include <utility>
#include "net/quic/platform/impl/quic_ptr_util_impl.h"
namespace quic {
template <typename T>
std::unique_ptr<T> QuicWrapUnique(T* ptr) {
return QuicWrapUniqueImpl<T>(ptr);
}
} // namespace quic
#endif // QUICHE_QUIC_PLATFORM_API_QUIC_PTR_UTIL_H_