diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-02-28 12:30:11 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-02-28 12:30:11 +0000 |
| commit | c342bde9627b434effbc0cd10b817670d1da0923 (patch) | |
| tree | 60d14bf448066b8dcd639adfa0db716d5a8258c8 /src/AbstractProxyResponseCommand.cc | |
| parent | 135f0a2a8c4ee04a5e96d84ba558245fabfc1f5c (diff) | |
2010-02-28 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use vector instead of deque for containers which is used for
mostly read-only purpose.
Diffstat (limited to 'src/AbstractProxyResponseCommand.cc')
| -rw-r--r-- | src/AbstractProxyResponseCommand.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AbstractProxyResponseCommand.cc b/src/AbstractProxyResponseCommand.cc index b5e40cbe..e04dcc1d 100644 --- a/src/AbstractProxyResponseCommand.cc +++ b/src/AbstractProxyResponseCommand.cc @@ -51,7 +51,7 @@ namespace aria2 { AbstractProxyResponseCommand::AbstractProxyResponseCommand (int cuid, - const RequestHandle& req, + const SharedHandle<Request>& req, const SharedHandle<FileEntry>& fileEntry, RequestGroup* requestGroup, const HttpConnectionHandle& httpConnection, @@ -63,7 +63,7 @@ AbstractProxyResponseCommand::AbstractProxyResponseCommand AbstractProxyResponseCommand::~AbstractProxyResponseCommand() {} bool AbstractProxyResponseCommand::executeInternal() { - HttpResponseHandle httpResponse = httpConnection->receiveResponse(); + SharedHandle<HttpResponse> httpResponse = httpConnection->receiveResponse(); if(httpResponse.isNull()) { // the server has not responded our request yet. e->commands.push_back(this); |
