Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
171a3bb8
Commit
171a3bb8
authored
Jan 08, 2009
by
Thorbjørn Lindeijer
Browse files
Fixed compilation problem with gcc 3.3
Reviewed-by: Roberto Raggi
parent
2c74d01e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cpptools/cppcodecompletion.cpp
View file @
171a3bb8
...
...
@@ -723,7 +723,7 @@ bool CppCodeCompletion::completeScope(const QList<TypeOfExpression::Result> &res
return
false
;
// nothing to do.
// Search for a class or a namespace.
TypeOfExpression
::
Result
result
(
FullySpecifiedType
(),
0
)
;
TypeOfExpression
::
Result
result
;
foreach
(
result
,
results
)
{
FullySpecifiedType
ty
=
result
.
first
;
...
...
@@ -751,8 +751,7 @@ bool CppCodeCompletion::completeScope(const QList<TypeOfExpression::Result> &res
}
else
if
(
Symbol
*
symbol
=
result
.
second
)
{
if
(
symbol
->
isTypedef
())
{
ResolveClass
resolveClass
;
const
QList
<
Symbol
*>
candidates
=
resolveClass
(
result
,
context
);
const
QList
<
Symbol
*>
candidates
=
resolveClass
(
result
,
context
);
completeClass
(
candidates
,
context
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment