diff --git a/src/plugins/cppeditor/cpplocalsymbols.cpp b/src/plugins/cppeditor/cpplocalsymbols.cpp index 5816ff43cf33abfbd713bf40354ae05c2107c3f0..537c645f514e113a3bce31a9e541698f835b6421 100644 --- a/src/plugins/cppeditor/cpplocalsymbols.cpp +++ b/src/plugins/cppeditor/cpplocalsymbols.cpp @@ -253,9 +253,9 @@ private: LocalSymbols::LocalSymbols(CPlusPlus::Document::Ptr doc, CPlusPlus::DeclarationAST *ast) { - FindLocalSymbols FindLocalSymbols(doc); - FindLocalSymbols(ast); - hasD = FindLocalSymbols.hasD; - hasQ = FindLocalSymbols.hasQ; - uses = FindLocalSymbols.localUses; + FindLocalSymbols findLocalSymbols(doc); + findLocalSymbols(ast); + hasD = findLocalSymbols.hasD; + hasQ = findLocalSymbols.hasQ; + uses = findLocalSymbols.localUses; }