Performance optimization of ImageSequencer::instrumentActive

This commit is contained in:
Alexander Bock
2016-06-06 00:45:40 +02:00
parent 6a2624dbb2
commit e85144b4eb
3 changed files with 17 additions and 8 deletions
@@ -142,7 +142,7 @@ void GuiPerformanceComponent::render() {
std::sort(
indices.begin(),
indices.end(),
[sortIndex, &averages](int a, int b) {
[sortIndex, &averages](size_t a, size_t b) {
return averages[a][sortIndex] > averages[b][sortIndex];
}
);