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

aux: capture by reference

parent 7d63a1ee
No related branches found
No related tags found
1 merge request!227Merge jt
...@@ -1304,7 +1304,7 @@ void DotConverter::transitions(const automaton::EpsilonNFTA < SymbolType, StateT ...@@ -1304,7 +1304,7 @@ void DotConverter::transitions(const automaton::EpsilonNFTA < SymbolType, StateT
i++; i++;
} }
   
for ( const std::pair < const int, int > epsilonTransition : epsilonTransitions ) { for ( const std::pair < const int, int > & epsilonTransition : epsilonTransitions ) {
out << epsilonTransition.first << " -> " << epsilonTransition.second; out << epsilonTransition.first << " -> " << epsilonTransition.second;
out << "[label=\"&epsilon;\"]\n"; out << "[label=\"&epsilon;\"]\n";
} }
......
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