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
31b632d6
Commit
31b632d6
authored
May 12, 2010
by
Roberto Raggi
Browse files
Oops! use the right base type when searching for overloads of operator->().
parent
7edde41d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/cplusplus/ResolveExpression.cpp
View file @
31b632d6
...
...
@@ -598,7 +598,7 @@ ClassOrNamespace *ResolveExpression::baseExpression(const QList<LookupItem> &bas
if
(
ClassOrNamespace
*
binding
=
findClass
(
ptrTy
->
elementType
(),
scope
))
return
binding
;
}
else
if
(
ClassOrNamespace
*
binding
=
findClass
(
ptrTy
->
elementType
()
,
scope
))
{
}
else
if
(
ClassOrNamespace
*
binding
=
findClass
(
ty
,
scope
))
{
// lookup for overloads of operator->
const
OperatorNameId
*
arrowOp
=
control
()
->
operatorNameId
(
OperatorNameId
::
ArrowOp
);
...
...
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