blob: 2de39ca387243c8bfce62631fb639f7f4d9c4f03 [file] [log] [blame]
danzh02640922019-04-16 14:49:47 -07001// Copyright 2017 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_EPOLL_SERVER_PLATFORM_API_EPOLL_PTR_UTIL_H_
6#define QUICHE_EPOLL_SERVER_PLATFORM_API_EPOLL_PTR_UTIL_H_
7
8#include <memory>
9
10#include "net/tools/epoll_server/platform/impl/epoll_ptr_util_impl.h"
11
12namespace epoll_server {
13
14template <typename T, typename... Args>
15std::unique_ptr<T> EpollMakeUnique(Args&&... args) {
16 return EpollMakeUniqueImpl<T>(std::forward<Args>(args)...);
17}
18
19} // namespace epoll_server
20
21#endif // QUICHE_EPOLL_SERVER_PLATFORM_API_EPOLL_PTR_UTIL_H_