Skip to content
Snippets Groups Projects
Commit 9a27608a authored by Tomáš Pecka's avatar Tomáš Pecka
Browse files

Variable name clash (fixes gcc build)

parent 6ff915da
No related branches found
No related tags found
No related merge requests found
...@@ -26,9 +26,9 @@ void TreeToStringComposer::compose ( std::ostream & out, const RankedNode & node ...@@ -26,9 +26,9 @@ void TreeToStringComposer::compose ( std::ostream & out, const RankedNode & node
   
out << std::utos ( node.getSymbol ( ).getRank ( ).getData ( ) ); out << std::utos ( node.getSymbol ( ).getRank ( ).getData ( ) );
   
for ( const RankedNode * node : node.getChildren ( ) ) { for ( const RankedNode * child : node.getChildren ( ) ) {
out << " "; out << " ";
compose ( out, * node ); compose ( out, * child );
} }
} }
   
...@@ -46,9 +46,9 @@ void TreeToStringComposer::compose ( std::ostream & out, const alphabet::RankedS ...@@ -46,9 +46,9 @@ void TreeToStringComposer::compose ( std::ostream & out, const alphabet::RankedS
   
out << std::utos ( node.getSymbol ( ).getRank ( ).getData ( ) ); out << std::utos ( node.getSymbol ( ).getRank ( ).getData ( ) );
   
for ( const RankedNode * node : node.getChildren ( ) ) { for ( const RankedNode * child : node.getChildren ( ) ) {
out << " "; out << " ";
compose ( out, subtreeWildcard, * node ); compose ( out, subtreeWildcard, * child );
} }
} }
} }
...@@ -62,9 +62,9 @@ TreeToStringComposer::RegistratorWrapper < void, UnrankedTree > StringToStringCo ...@@ -62,9 +62,9 @@ TreeToStringComposer::RegistratorWrapper < void, UnrankedTree > StringToStringCo
void TreeToStringComposer::compose ( std::ostream & out, const UnrankedNode & node ) { void TreeToStringComposer::compose ( std::ostream & out, const UnrankedNode & node ) {
alib::stringApi < alphabet::Symbol >::compose ( out, node.getSymbol ( ) ); alib::stringApi < alphabet::Symbol >::compose ( out, node.getSymbol ( ) );
   
for ( const UnrankedNode * node : node.getChildren ( ) ) { for ( const UnrankedNode * child : node.getChildren ( ) ) {
out << " "; out << " ";
compose ( out, * node ); compose ( out, * child );
} }
   
out << " |"; out << " |";
...@@ -82,9 +82,9 @@ void TreeToStringComposer::compose ( std::ostream & out, const alphabet::Symbol ...@@ -82,9 +82,9 @@ void TreeToStringComposer::compose ( std::ostream & out, const alphabet::Symbol
} else { } else {
alib::stringApi < alphabet::Symbol >::compose ( out, node.getSymbol ( ) ); alib::stringApi < alphabet::Symbol >::compose ( out, node.getSymbol ( ) );
   
for ( const UnrankedNode * node : node.getChildren ( ) ) { for ( const UnrankedNode * child : node.getChildren ( ) ) {
out << " "; out << " ";
compose ( out, subtreeWildcard, * node ); compose ( out, subtreeWildcard, * child );
} }
   
out << " |"; out << " |";
......
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