diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-23 00:59:55 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-23 00:59:55 +0900 |
| commit | bef6236da80cb18a3212bde7c33c556883cbd536 (patch) | |
| tree | 8faeefde90feeaeb0d7c52d75dcc5189f8c25ea0 /src/RpcMethodImpl.h | |
| parent | 1a299c4d7cf5ab8d130e678d152c4c47ae3430ea (diff) | |
DownloadContext::attrs_ now holds std::unique_ptr
DownloadContext::getAttribute() returns a raw pointer.
Diffstat (limited to 'src/RpcMethodImpl.h')
| -rw-r--r-- | src/RpcMethodImpl.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/RpcMethodImpl.h b/src/RpcMethodImpl.h index 04265229..0a5a9b4a 100644 --- a/src/RpcMethodImpl.h +++ b/src/RpcMethodImpl.h @@ -599,8 +599,7 @@ void gatherProgressCommon #ifdef ENABLE_BITTORRENT // Helper function to store BitTorrent metadata from torrentAttrs. void gatherBitTorrentMetadata -(const std::shared_ptr<Dict>& btDict, - const std::shared_ptr<TorrentAttribute>& torrentAttrs); +(const std::shared_ptr<Dict>& btDict, TorrentAttribute* torrentAttrs); #endif // ENABLE_BITTORRENT } // namespace rpc |
