diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-07-06 00:17:44 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-07-06 15:56:08 +0900 |
| commit | 6b397c812520016f7b2b22544f51bfddbcca8dfe (patch) | |
| tree | 6dcf656fb19da47833324111efcee62c66809365 /src/AbstractCommand.h | |
| parent | c9e58779e1a30b32ea2f86e686211d901aca19f0 (diff) | |
Use std::unique_ptr for CheckIntegrityEntry and FileAllocationEntry
Diffstat (limited to 'src/AbstractCommand.h')
| -rw-r--r-- | src/AbstractCommand.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/AbstractCommand.h b/src/AbstractCommand.h index 51e38edd..8230a040 100644 --- a/src/AbstractCommand.h +++ b/src/AbstractCommand.h @@ -179,8 +179,7 @@ public: void setTimeout(time_t timeout) { timeout_ = timeout; } - void prepareForNextAction - (const std::shared_ptr<CheckIntegrityEntry>& checkEntry); + void prepareForNextAction(std::unique_ptr<CheckIntegrityEntry> checkEntry); // Check if socket is connected. If socket is not connected and // there are other addresses to try, command is created using |
