Only one loop needed.

This commit is contained in:
Jason Felds
2011-07-26 14:13:50 -04:00
parent bf5c3791cc
commit 4eeb2e6442
+1 -3
View File
@@ -21,10 +21,8 @@ bool TimingData::empty() const
{
for (unsigned i = 0; i < NUM_TimingSegmentType; i++)
{
for (unsigned j = 0; j < this->allTimingSegments[i].size(); j++)
{
if (this->allTimingSegments[i].size() > 0)
return false;
}
}
return true;
}