]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/visitor.cpp
Remove the using declarations from visitors
[libs/gl.git] / source / glsl / visitor.cpp
index 265b11d41215da3bae6cebdbfcaa1b92e0919f24..1a7adcc5287a40894a20fc8a9a3926a84db01140 100644 (file)
@@ -126,7 +126,7 @@ void NodeRemover::apply(Stage &s, const set<Node *> &tr)
 {
        stage = &s;
        to_remove = &tr;
-       visit(s.content);
+       s.content.visit(*this);
 }
 
 void NodeRemover::remove_variable(map<string, VariableDeclaration *> &vars, VariableDeclaration &decl)