Fix a typo in a comment

This commit is contained in:
Rangi
2026-07-10 14:29:32 -04:00
parent b8011947a8
commit 255cd7f7f6
+1 -2
View File
@@ -294,8 +294,7 @@ static void decant(std::vector<AssignedSets> &assignments, std::vector<ColorSet>
// properties
// NB: this does mean that the first step might get empty palettes as its input!
// NB: this is safe to do because we go towards the beginning of the vector, thereby not
// invalidating our iteration (thus, iterators should not be used to drivethe outer
// loop)
// invalidating our iteration (so iterators should not be used to drive the outer loop)
if (assignments[from].empty()) {
assignments.erase(assignments.begin() + from);
}