diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-22 17:37:30 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-22 17:37:30 +0900 |
| commit | e2340efe2788648a6edc49eaa236e1f62d96a937 (patch) | |
| tree | d182c828e80c0d63069160805ff7d023e512b02e /src/BtSetup.cc | |
| parent | 0030025bb6989b130c7f609819669e0619519d64 (diff) | |
Use std::vector instead of std::map for ContextAttribute objects
Now key for ContextAttribute object store is int instead of string.
Diffstat (limited to 'src/BtSetup.cc')
| -rw-r--r-- | src/BtSetup.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BtSetup.cc b/src/BtSetup.cc index d49b5985..cd975762 100644 --- a/src/BtSetup.cc +++ b/src/BtSetup.cc @@ -94,7 +94,7 @@ void BtSetup::setup(std::vector<Command*>& commands, DownloadEngine* e, const Option* option) { - if(!requestGroup->getDownloadContext()->hasAttribute(bittorrent::BITTORRENT)){ + if(!requestGroup->getDownloadContext()->hasAttribute(CTX_ATTR_BT)){ return; } SharedHandle<TorrentAttribute> torrentAttrs = |
