1
0
Fork 0
This commit is contained in:
Lukas Tenbrink 2025-02-28 01:35:55 +01:00 committed by GitHub
commit 789e8bc8a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -121,7 +121,7 @@ public:
return occurrences;
}
void invert() {
void reverse() {
for (U i = 0; i < count / 2; i++) {
SWAP(data[i], data[count - i - 1]);
}

View File

@ -103,10 +103,10 @@ public:
}
void path_reverse() {
path_points.invert();
path_meta_point_types.invert();
path_meta_point_rids.invert();
path_meta_point_owners.invert();
path_points.reverse();
path_meta_point_types.reverse();
path_meta_point_rids.reverse();
path_meta_point_owners.reverse();
}
};