forked from qt-creator/qt-creator
Copile fix after f8645bb6
Change-Id: I3218ee94b414a4188c574bc63c9fa6c6d0d0a490 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
@@ -1282,9 +1282,9 @@ bool CheckSymbols::maybeAddFunction(const QList<LookupItem> &candidates, NameAST
|
||||
|
||||
// Add a diagnostic message if argument count does not match
|
||||
if (matchType == Match_TooFewArgs)
|
||||
warning(line, column, QCoreApplication::translate("CPlusplus::CheckSymbols", "Too few arguments", length);
|
||||
warning(line, column, QCoreApplication::translate("CPlusplus::CheckSymbols", "Too few arguments", 0, length));
|
||||
else if (matchType == Match_TooManyArgs)
|
||||
warning(line, column, QCoreApplication::translate("CPlusplus::CheckSymbols", "Too many arguments", length);
|
||||
warning(line, column, QCoreApplication::translate("CPlusplus::CheckSymbols", "Too many arguments", 0, length));
|
||||
|
||||
const Use use(line, column, length, kind);
|
||||
addUse(use);
|
||||
|
Reference in New Issue
Block a user