Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
KDevelop
KDevelop Ruby Support
Commits
471fecc8
Commit
471fecc8
authored
Aug 25, 2016
by
Kevin Funk
☕
Browse files
Fix crash on accessing nullptr
parent
15b45df1
Changes
1
Hide whitespace changes
Inline
Side-by-side
duchain/types/classtype.cpp
View file @
471fecc8
...
...
@@ -60,7 +60,7 @@ void ClassType::addContentType(AbstractType::Ptr typeToAdd)
if
(
!
typeToAdd
)
// TODO: not sure :/
return
;
AbstractType
::
Ptr
type
=
mergeTypes
(
contentType
().
abstractType
(),
typeToAdd
);
d_func_dynamic
()
->
m_contentType
=
type
->
indexed
(
);
d_func_dynamic
()
->
m_contentType
=
IndexedType
(
type
);
}
const
IndexedType
&
ClassType
::
contentType
()
const
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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