summaryrefslogtreecommitdiff
path: root/src/AbstractProxyRequestCommand.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/AbstractProxyRequestCommand.h
parentbb5b7eeedb3ce7396007818cbab4f5f5660997a5 (diff)
Wrap Command object in std::unique_ptr
Diffstat (limited to 'src/AbstractProxyRequestCommand.h')
-rw-r--r--src/AbstractProxyRequestCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AbstractProxyRequestCommand.h b/src/AbstractProxyRequestCommand.h
index b54b7d31..68fd8af1 100644
--- a/src/AbstractProxyRequestCommand.h
+++ b/src/AbstractProxyRequestCommand.h
@@ -70,7 +70,7 @@ public:
virtual ~AbstractProxyRequestCommand();
- virtual Command* getNextCommand() = 0;
+ virtual std::unique_ptr<Command> getNextCommand() = 0;
};
} // namespace aria2