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/DownloadEngine.cc | |
| parent | bee7a8317c602a37066a7b3391b5134f31e3a5ff (diff) | |
Use std::make_shared and make_unique where possible, part 1
Diffstat (limited to 'src/DownloadEngine.cc')
| -rw-r--r-- | src/DownloadEngine.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DownloadEngine.cc b/src/DownloadEngine.cc index 1b8029f3..cfc0848d 100644 --- a/src/DownloadEngine.cc +++ b/src/DownloadEngine.cc @@ -96,7 +96,7 @@ DownloadEngine::DownloadEngine(std::unique_ptr<EventPoll> eventPoll) noWait_(true), refreshInterval_(DEFAULT_REFRESH_INTERVAL), lastRefresh_(0), - cookieStorage_(new CookieStorage()), + cookieStorage_(make_unique<CookieStorage>()), #ifdef ENABLE_BITTORRENT btRegistry_(make_unique<BtRegistry>()), #endif // ENABLE_BITTORRENT |
