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
e2b3d34d
Commit
e2b3d34d
authored
Jul 10, 2009
by
Roberto Raggi
Browse files
Check for 0x0 access when comparing identifiers.
parent
3e54a65a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/shared/cplusplus/Literals.cpp
View file @
e2b3d34d
...
...
@@ -122,7 +122,9 @@ Identifier::~Identifier()
bool
Identifier
::
isEqualTo
(
const
Identifier
*
other
)
const
{
if
(
this
==
other
)
if
(
!
other
)
return
false
;
else
if
(
this
==
other
)
return
true
;
else
if
(
hashCode
()
!=
other
->
hashCode
())
return
false
;
...
...
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