diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-22 01:10:38 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-22 01:10:38 +0900 |
| commit | 07d270c87e6f9184aea4ca17eb26e466712e8db2 (patch) | |
| tree | 2dfbaa2e0d2ad0f38cb73098608f7d67a64320f8 /src/MetalinkParserController.cc | |
| parent | 126a4bde612eb0e6c48cf2f13ebe3eac45cc71a8 (diff) | |
Require -std=c++11 and use std::shared_ptr instead of SharedHandle
Diffstat (limited to 'src/MetalinkParserController.cc')
| -rw-r--r-- | src/MetalinkParserController.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MetalinkParserController.cc b/src/MetalinkParserController.cc index 762aa81d..187e6cc1 100644 --- a/src/MetalinkParserController.cc +++ b/src/MetalinkParserController.cc @@ -237,7 +237,7 @@ void MetalinkParserController::commitResourceTransaction() } #ifdef ENABLE_BITTORRENT if(tResource_->type == MetalinkResource::TYPE_BITTORRENT) { - SharedHandle<MetalinkMetaurl> metaurl(new MetalinkMetaurl()); + std::shared_ptr<MetalinkMetaurl> metaurl(new MetalinkMetaurl()); metaurl->url = tResource_->url; metaurl->priority = tResource_->priority; metaurl->mediatype = MetalinkMetaurl::MEDIATYPE_TORRENT; |
