-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug Fix for #418 - Graph<T>::removeNode has potential to throw due to…
… optional being accessed early (#430) * optional should first check whether the node indeed exists * fixed typo in impl and also added test for removing node that was never added * incorporated review into PR * resolved use after free for map iterator * reformatted code as per PR feedback * reformatted code as per PR feedback
- Loading branch information
Showing
2 changed files
with
61 additions
and
13 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