From a46a23835cb3ee5f0d68295ac053bf5fc92de466 Mon Sep 17 00:00:00 2001
From: Erik Verbruggen <erik.verbruggen@nokia.com>
Date: Tue, 2 Feb 2010 15:39:08 +0100
Subject: [PATCH] Fix to reflect previous/older API change.

---
 tests/manual/cplusplus/main.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/manual/cplusplus/main.cpp b/tests/manual/cplusplus/main.cpp
index ef4af02ab1c..5b27fb7106f 100644
--- a/tests/manual/cplusplus/main.cpp
+++ b/tests/manual/cplusplus/main.cpp
@@ -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()); }
 
-- 
GitLab