Permalink
Browse files

Simple cleanup and comment

  • Loading branch information...
1 parent 4d2b548 commit e98a0915bd3d8c82688d4e9c7d48784a70b07bc3 @tewalds committed May 27, 2010
Showing with 1 addition and 11 deletions.
  1. +1 −11 player.h
View
@@ -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();

0 comments on commit e98a091

Please sign in to comment.