Skip to content

Commit

Permalink
minor change in Comparator for Element size support
Browse files Browse the repository at this point in the history
issue #31
  • Loading branch information
Valentin Noel committed Dec 10, 2013
1 parent 3e89296 commit efa4864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/Comparator/src/Comparator/Comparator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ void Comparator::updateParentSize( const ShPtrElement element )
ShPtrElement parent = element->getParent();
while( ! skipElementCheck( element ) && parent != nullptr )
{
parent->_childrenSize += element->_size;
parent->_childrenSize += element->_data.size();
// LOG_COLOR( common::details::kColorBlue, "[comparator] " << parent->_id << "'s children size : " << parent->_childrenSize << std::endl );
parent = parent->getParent();
}
Expand Down

0 comments on commit efa4864

Please sign in to comment.