mirror of
https://github.com/gbdev/rgbds.git
synced 2026-08-19 05:14:31 +00:00
Fix a typo in a comment
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user