mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-24 04:58:59 -05:00
Performance optimization of ImageSequencer::instrumentActive
This commit is contained in:
@@ -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];
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user