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/CheckIntegrityEntry.cc | |
| parent | 126a4bde612eb0e6c48cf2f13ebe3eac45cc71a8 (diff) | |
Require -std=c++11 and use std::shared_ptr instead of SharedHandle
Diffstat (limited to 'src/CheckIntegrityEntry.cc')
| -rw-r--r-- | src/CheckIntegrityEntry.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CheckIntegrityEntry.cc b/src/CheckIntegrityEntry.cc index 3430fedb..57252118 100644 --- a/src/CheckIntegrityEntry.cc +++ b/src/CheckIntegrityEntry.cc @@ -86,7 +86,7 @@ void CheckIntegrityEntry::cutTrailingGarbage() void CheckIntegrityEntry::proceedFileAllocation (std::vector<Command*>& commands, - const SharedHandle<FileAllocationEntry>& entry, + const std::shared_ptr<FileAllocationEntry>& entry, DownloadEngine* e) { if(getRequestGroup()->needsFileAllocation()) { @@ -97,7 +97,7 @@ void CheckIntegrityEntry::proceedFileAllocation } void CheckIntegrityEntry::setValidator -(const SharedHandle<IteratableValidator>& validator) +(const std::shared_ptr<IteratableValidator>& validator) { validator_ = validator; } |
