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
bd355eb1
Commit
bd355eb1
authored
Nov 23, 2009
by
Roberto Raggi
Browse files
Got the same pointer. There is no reason to check for structural equivalence.
parent
b437b4be
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/shared/cplusplus/TypeMatcher.cpp
View file @
bd355eb1
...
...
@@ -45,8 +45,11 @@ TypeMatcher::~TypeMatcher()
bool
TypeMatcher
::
isEqualTo
(
const
Name
*
name
,
const
Name
*
otherName
)
const
{
if
(
!
name
||
!
otherName
)
return
name
==
otherName
;
if
(
name
==
otherName
)
return
true
;
else
if
(
!
name
||
!
otherName
)
return
false
;
return
name
->
isEqualTo
(
otherName
);
}
...
...
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