blob: 2530e7ccf58f4604267580ea44caa122a7000975 [file] [log] [blame]
QUICHE teamfd50a402018-12-07 22:54:05 -05001// Copyright 2018 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef QUICHE_HTTP2_PLATFORM_API_HTTP2_PTR_UTIL_H_
6#define QUICHE_HTTP2_PLATFORM_API_HTTP2_PTR_UTIL_H_
7
8#include <memory>
9#include <utility>
10
11#include "net/http2/platform/impl/http2_ptr_util_impl.h"
12
13namespace http2 {
14
15template <typename T, typename... Args>
16std::unique_ptr<T> Http2MakeUnique(Args&&... args) {
17 return Http2MakeUniqueImpl<T>(std::forward<Args>(args)...);
18}
19
20} // namespace http2
21
22#endif // QUICHE_HTTP2_PLATFORM_API_HTTP2_PTR_UTIL_H_