Reversed operator in SortLifetime fixing #29440
(cherry picked from commit 6a23eff748
)
This commit is contained in:
parent
03a1570a74
commit
df2a809aae
|
@ -116,7 +116,7 @@ private:
|
||||||
const Particle *particles;
|
const Particle *particles;
|
||||||
|
|
||||||
bool operator()(int p_a, int p_b) const {
|
bool operator()(int p_a, int p_b) const {
|
||||||
return particles[p_a].time < particles[p_b].time;
|
return particles[p_a].time > particles[p_b].time;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue