Created
May 27, 2015 15:16
-
-
Save evertheylen/62a3b0f6645f679ca7f8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
for (auto it=working_set.begin(); it!=working_set.end(); ++it) { | |
if ((! q.valid(*it)) || D.is_dead((*it).dfa_pos.state)) { | |
// delete! | |
working_set.erase(it); | |
it--; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment