Skip to content

Commit c744568

Browse files
committed
Remove of typeid check against XsldbgDriver. Through that rtti compiler option can be removed. I my option this leads to better runtime performance.
1 parent 968fb53 commit c744568

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

kdbg/dbgmainwnd.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
#include "gdbdriver.h"
4747
#include "xsldbgdriver.h"
4848
#include "mydebug.h"
49-
#include <typeinfo>
5049
#include <sys/stat.h> /* mknod(2) */
5150
#include <unistd.h> /* getpid */
5251

@@ -719,9 +718,6 @@ bool DebuggerMainWnd::startDriver(const QString& executable, QString lang)
719718
KMessageBox::sorry(this, msg.arg(lang));
720719
return false;
721720
}
722-
if (typeid(*driver) == typeid(XsldbgDriver)) {
723-
KMessageBox::information(this, i18n("XSL debugging is no longer supported and will be removed in a future version of KDbg"));
724-
}
725721

726722
driver->setLogFileName(m_transcriptFile);
727723

0 commit comments

Comments
 (0)