Commit a46a2383 authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

Fix to reflect previous/older API change.

parent a3d0406d
......@@ -62,8 +62,8 @@ class ForEachNode: protected ASTVisitor
ForEachNode(Document::Ptr doc)
: ASTVisitor(doc->control()), doc(doc),
matcher(doc->translationUnit()) {}
: ASTVisitor(doc->translationUnit()),
matcher() {}
void operator()() { accept(doc->translationUnit()->ast()); }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment