src/Generic/edt/LinkerTreeSearch.cpp
//clears the contents of the _currentLeaves array, but leaves the actual array there

clears the contents of the _currentLeaves array, but leaves the actual array there
clears the contents of the _currentLeaves array but leaves the actual array there
void LinkerTreeSearch::clearLeaves() {
	int i;
	if (_currentLeaves != 0) {
		for (i=0; i<_nCurrentLeaves; i++) {
			delete _currentLeaves[i]; 
			_currentLeaves[i] = 0;
		}
	}
	_nCurrentLeaves = 0;
}
void LinkerTreeSearch :: clearLeaves ( ) { int i ; if ( _currentLeaves != 0 ) { for ( i = 0 ; i < _nCurrentLeaves ; i ++ ) { delete _currentLeaves [ i ] ; _currentLeaves [ i ] = 0 ; } } _nCurrentLeaves = 0 ; }
clears the contents of the _currentLeaves array, but leaves the actual array there
clears the contents of the _currentLeaves array but leaves the actual array there