summaryrefslogtreecommitdiff
path: root/src/AbstractProxyResponseCommand.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-06-23 21:55:52 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-06-23 21:55:52 +0900
commitfa9f3fb5a3c8912a0a6880ffba9c72f4424ea044 (patch)
treedeb0b47b085a3a689bf386409734bfd3f72f57d2 /src/AbstractProxyResponseCommand.h
parentbb5b7eeedb3ce7396007818cbab4f5f5660997a5 (diff)
Wrap Command object in std::unique_ptr
Diffstat (limited to 'src/AbstractProxyResponseCommand.h')
-rw-r--r--src/AbstractProxyResponseCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AbstractProxyResponseCommand.h b/src/AbstractProxyResponseCommand.h
index 4c85fbcc..589d85fb 100644
--- a/src/AbstractProxyResponseCommand.h
+++ b/src/AbstractProxyResponseCommand.h
@@ -64,7 +64,7 @@ public:
virtual ~AbstractProxyResponseCommand();
- virtual Command* getNextCommand() = 0;
+ virtual std::unique_ptr<Command> getNextCommand() = 0;
};
} // namespace aria2