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
Marco Bubke
flatpak-qt-creator
Commits
56c5c826
Commit
56c5c826
authored
May 17, 2010
by
Roberto Raggi
Browse files
Get rid off of typeid() and <typeinfo>.
parent
3e126d6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cpptools/cppcodecompletion.cpp
View file @
56c5c826
...
...
@@ -79,8 +79,6 @@
#include <QtGui/QToolButton>
#include <QtGui/QVBoxLayout>
#include <typeinfo>
namespace
{
const
bool
debug
=
!
qgetenv
(
"CPLUSPLUS_DEBUG"
).
isEmpty
();
}
...
...
@@ -1098,7 +1096,7 @@ bool CppCodeCompletion::completeMember(const QList<LookupItem> &baseResults,
if
(
debug
)
{
Overview
oo
;
qDebug
()
<<
"hmm, got:"
<<
oo
(
baseResults
.
first
().
type
())
<<
typeid
(
*
baseResults
.
first
().
type
().
type
()).
name
()
;
qDebug
()
<<
"hmm, got:"
<<
oo
(
baseResults
.
first
().
type
());
}
return
false
;
...
...
Write
Preview
Supports
Markdown
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