Commit 56c5c826 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Get rid off of typeid() and <typeinfo>.

parent 3e126d6a
...@@ -79,8 +79,6 @@ ...@@ -79,8 +79,6 @@
#include <QtGui/QToolButton> #include <QtGui/QToolButton>
#include <QtGui/QVBoxLayout> #include <QtGui/QVBoxLayout>
#include <typeinfo>
namespace { namespace {
const bool debug = ! qgetenv("CPLUSPLUS_DEBUG").isEmpty(); const bool debug = ! qgetenv("CPLUSPLUS_DEBUG").isEmpty();
} }
...@@ -1098,7 +1096,7 @@ bool CppCodeCompletion::completeMember(const QList<LookupItem> &baseResults, ...@@ -1098,7 +1096,7 @@ bool CppCodeCompletion::completeMember(const QList<LookupItem> &baseResults,
if (debug) { if (debug) {
Overview oo; Overview oo;
qDebug() << "hmm, got:" << oo(baseResults.first().type()) << typeid(*baseResults.first().type().type()).name(); qDebug() << "hmm, got:" << oo(baseResults.first().type());
} }
return false; return false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment