Skip to content

Commit

Permalink
change List::destroy() to static function to allow calls on empty lists
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Robillard committed Sep 29, 2017
1 parent 3969e86 commit 4360c9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Debug/RuntimeStatistics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ void RSMultiCounter::print(ostream& out)
RSMultiStatistic::~RSMultiStatistic()
{
for(size_t i=0;i<_values.size();i++) {
_values[i]->destroy();
ValList::destroy(_values[i]);
}
}

Expand Down

0 comments on commit 4360c9e

Please sign in to comment.