Skip to content
Snippets Groups Projects
Commit d13953ae authored by Jan Trávníček's avatar Jan Trávníček
Browse files

move more

parent f517924b
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ automaton::State createDFAState(const std::set<automaton::State>& nfaStates) { ...@@ -20,7 +20,7 @@ automaton::State createDFAState(const std::set<automaton::State>& nfaStates) {
for(const automaton::State& state : nfaStates) { for(const automaton::State& state : nfaStates) {
labelSet.insert(state.getName()); labelSet.insert(state.getName());
} }
return automaton::State(label::Label(label::LabelSetLabel(labelSet))); return automaton::State(label::Label(label::LabelSetLabel(std::move(labelSet))));
} }
   
std::set<automaton::State> recreateNFAStates(const automaton::State& dfaState) { std::set<automaton::State> recreateNFAStates(const automaton::State& dfaState) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment