mirror of https://github.com/aria2/aria2
Fix unitest compile error
parent
03ae308faa
commit
abcb0745ed
|
@ -51,6 +51,10 @@ public:
|
||||||
piece_(piece)
|
piece_(piece)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
RequestSlot():dispatchedTime_(0), index_(0), begin_(0), length_(0),
|
||||||
|
blockIndex_(0)
|
||||||
|
{}
|
||||||
|
|
||||||
bool operator==(const RequestSlot& requestSlot) const
|
bool operator==(const RequestSlot& requestSlot) const
|
||||||
{
|
{
|
||||||
return index_ == requestSlot.index_ && begin_ == requestSlot.begin_
|
return index_ == requestSlot.index_ && begin_ == requestSlot.begin_
|
||||||
|
|
Loading…
Reference in New Issue