mirror of
https://github.com/aria2/aria2.git
synced 2025-04-04 21:17:41 +03:00
make socket parameter in *Command contructor const
This commit is contained in:
parent
e6e0177560
commit
133f759a0d
30 changed files with 28 additions and 39 deletions
|
@ -33,7 +33,7 @@ using namespace std;
|
|||
|
||||
HttpDownloadCommand::HttpDownloadCommand(int cuid, Request* req,
|
||||
DownloadEngine* e,
|
||||
Socket* socket):
|
||||
const Socket* socket):
|
||||
DownloadCommand(cuid, req, e, socket)
|
||||
{
|
||||
ChunkedEncoding* ce = new ChunkedEncoding();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue