mirror of https://github.com/aria2/aria2
2010-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Made DHTBucketTreeNode non-copyable. * src/DHTBucketTree.hpull/1/head
parent
698876e2eb
commit
3940da7562
|
@ -1,3 +1,8 @@
|
||||||
|
2010-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
|
Made DHTBucketTreeNode non-copyable.
|
||||||
|
* src/DHTBucketTree.h
|
||||||
|
|
||||||
2010-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
2010-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
Enter 'end game' mode from the beginning when getting torrent
|
Enter 'end game' mode from the beginning when getting torrent
|
||||||
|
|
|
@ -75,6 +75,10 @@ public:
|
||||||
// call.
|
// call.
|
||||||
void split();
|
void split();
|
||||||
private:
|
private:
|
||||||
|
// Do not allow copying
|
||||||
|
DHTBucketTreeNode(const DHTBucketTreeNode&);
|
||||||
|
DHTBucketTreeNode& operator=(const DHTBucketTreeNode&);
|
||||||
|
|
||||||
// Reset relation of children and minId_ and maxId_.
|
// Reset relation of children and minId_ and maxId_.
|
||||||
void resetRelation();
|
void resetRelation();
|
||||||
void setParent(DHTBucketTreeNode* parent) { parent_ = parent; }
|
void setParent(DHTBucketTreeNode* parent) { parent_ = parent; }
|
||||||
|
|
Loading…
Reference in New Issue