Don't crash if no fallback collection is found
ClosedPublic

Authored by ervin on Dec 27 2015, 9:30 PM.

Details

Summary

Bad bad me for dereferencing an iterator straight out of find_if. Indeed
maybe nothing match the criterion in which case we would crash. Could
happen on some systems on first use, it's a rare case but no need to die
just for that. :-)

Diff Detail

Repository
R4 Zanshin
Lint
Lint Skipped
Unit
Unit Tests Skipped
ervin updated this revision to Diff 1636.Dec 27 2015, 9:30 PM
ervin retitled this revision from to Don't crash if no fallback collection is found.
ervin updated this object.
ervin edited the test plan for this revision. (Show Details)
ervin added reviewers: bensi, franckarrecot.
bensi accepted this revision.Dec 28 2015, 10:48 AM
bensi edited edge metadata.
This revision is now accepted and ready to land.Dec 28 2015, 10:48 AM
This revision was automatically updated to reflect the committed changes.