forked from danielrh/prox
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use remove/tryRemove on cuts depending on situation.
Distinguish between remove, which should definitely have the object to be removed in the result set, and tryRemove, which tests if it is there, removes it if it is, and returns whether it was removed. This fixes a crashing assert since in some cases we were asserting that the object was in the results when we were only trying to remove it if it was.
- Loading branch information
Showing
4 changed files
with
83 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters