mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-11 13:30:47 -04:00
Fix comparison which could lead to segfault in std::sort
This commit is contained in:
parent
64bb35dbd3
commit
f75e7db150
@ -307,7 +307,7 @@ void inode_manager_<LoggerPolicy>::presort_index(
|
||||
|
||||
if (na > nb) {
|
||||
return true;
|
||||
} else if (na > nb) {
|
||||
} else if (na < nb) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user