Revert order of Remove Mount Item operations
Summary: Revert the order of "remove mount items", to ensure views are removed from high index to low index. Reviewed By: shergin Differential Revision: D8742796 fbshipit-source-id: 6e04c39386d290bf3958ee83256d4fbe23e2c4ca
This commit is contained in:
parent
ac09261a4c
commit
6292e2707a
|
@ -152,7 +152,7 @@ static void calculateMutationInstructions(
|
|||
// All instructions in an optimal order:
|
||||
instructions.insert(instructions.end(), destructionDownwardInstructions.begin(), destructionDownwardInstructions.end());
|
||||
instructions.insert(instructions.end(), replaceInstructions.begin(), replaceInstructions.end());
|
||||
instructions.insert(instructions.end(), removeInstructions.begin(), removeInstructions.end());
|
||||
instructions.insert(instructions.end(), removeInstructions.rbegin(), removeInstructions.rend());
|
||||
instructions.insert(instructions.end(), createInstructions.begin(), createInstructions.end());
|
||||
instructions.insert(instructions.end(), downwardInstructions.begin(), downwardInstructions.end());
|
||||
instructions.insert(instructions.end(), insertInstructions.begin(), insertInstructions.end());
|
||||
|
|
Loading…
Reference in New Issue