diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2014-09-13 00:07:21 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2014-09-13 00:07:21 +0900 |
| commit | 2807258279d8ddbef01ca1c20a87c14aa084620c (patch) | |
| tree | e0baa98d1b2051898a4dbde0820ed81e6438fec4 /src/EpollEventPoll.h | |
| parent | bee7a8317c602a37066a7b3391b5134f31e3a5ff (diff) | |
Use std::make_shared and make_unique where possible, part 1
Diffstat (limited to 'src/EpollEventPoll.h')
| -rw-r--r-- | src/EpollEventPoll.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EpollEventPoll.h b/src/EpollEventPoll.h index 83f9bdb3..0ec4fd60 100644 --- a/src/EpollEventPoll.h +++ b/src/EpollEventPoll.h @@ -84,7 +84,7 @@ private: size_t epEventsSize_; - struct epoll_event* epEvents_; + std::unique_ptr<struct epoll_event[]> epEvents_; static const size_t EPOLL_EVENTS_MAX = 1024; |
