Skip to content
Snippets Groups Projects
Commit a46a2383 authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

Fix to reflect previous/older API change.

parent a3d0406d
No related branches found
No related tags found
No related merge requests found
......@@ -62,8 +62,8 @@ class ForEachNode: protected ASTVisitor
public:
ForEachNode(Document::Ptr doc)
: ASTVisitor(doc->control()), doc(doc),
matcher(doc->translationUnit()) {}
: ASTVisitor(doc->translationUnit()),
matcher() {}
void operator()() { accept(doc->translationUnit()->ast()); }
......
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