diff options
Diffstat (limited to 'src/FileAllocationCommand.h')
| -rw-r--r-- | src/FileAllocationCommand.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/FileAllocationCommand.h b/src/FileAllocationCommand.h index ef38b5a2..cad28e4c 100644 --- a/src/FileAllocationCommand.h +++ b/src/FileAllocationCommand.h @@ -36,7 +36,9 @@ #define D_FILE_ALLOCATION_COMMAND_H #include "RealtimeCommand.h" -#include "SharedHandle.h" + +#include <memory> + #include "TimerA2.h" namespace aria2 { @@ -45,12 +47,12 @@ class FileAllocationEntry; class FileAllocationCommand : public RealtimeCommand { private: - SharedHandle<FileAllocationEntry> fileAllocationEntry_; + std::shared_ptr<FileAllocationEntry> fileAllocationEntry_; Timer timer_; public: FileAllocationCommand(cuid_t cuid, RequestGroup* requestGroup, DownloadEngine* e, - const SharedHandle<FileAllocationEntry>& fileAllocationEntry); + const std::shared_ptr<FileAllocationEntry>& fileAllocationEntry); virtual ~FileAllocationCommand(); |
