Skip to content

Commit

Permalink
Simple cleanup and comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tewalds committed May 27, 2010
1 parent 4d2b548 commit e98a091
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions player.h
Expand Up @@ -132,17 +132,7 @@ class Player {
Children temp = other;
other = *this;
*this = temp;
temp.neuter();
/*
Node * temp = _children;
uint16_t tempnum = _numchildren;
_children = n._children;
_numchildren = n._numchildren;
n._children = _temp;
n._numchildren = _tempnum;
*/
temp.neuter(); //to avoid problems with the destructor of temp
}
unsigned int num() const {
assert_consistent();
Expand Down

0 comments on commit e98a091

Please sign in to comment.