2010-11-18 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Made DHTBucketTreeNode non-copyable.
	* src/DHTBucketTree.h
pull/1/head
Tatsuhiro Tsujikawa 2010-11-18 12:13:59 +00:00
parent 698876e2eb
commit 3940da7562
2 changed files with 9 additions and 0 deletions

View File

@ -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>
Enter 'end game' mode from the beginning when getting torrent

View File

@ -75,6 +75,10 @@ public:
// call.
void split();
private:
// Do not allow copying
DHTBucketTreeNode(const DHTBucketTreeNode&);
DHTBucketTreeNode& operator=(const DHTBucketTreeNode&);
// Reset relation of children and minId_ and maxId_.
void resetRelation();
void setParent(DHTBucketTreeNode* parent) { parent_ = parent; }