forked from qt-creator/qt-creator
CPlusPlus: Avoid a few deprecation warnings
The alternatives have been around since 2012. Change-Id: I0aa15d59efe8a547e2ad622ffda689746960d48c Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -120,7 +120,7 @@ public:
|
||||
++errorCount;
|
||||
|
||||
#ifndef NO_PARSER_OR_SEMANTIC_ERROR_MESSAGES
|
||||
qDebug() << fileName->chars()<<':'<<line<<':'<<column<<' '<<QString().vsprintf(format, ap);
|
||||
qDebug() << fileName->chars()<<':'<<line<<':'<<column<<' ' << QString::vasprintf(format, ap);
|
||||
#else
|
||||
Q_UNUSED(fileName);
|
||||
Q_UNUSED(line);
|
||||
|
||||
Reference in New Issue
Block a user