Copile fix after f8645bb6

Change-Id: I3218ee94b414a4188c574bc63c9fa6c6d0d0a490
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
hjk
2012-11-26 10:13:04 +01:00
committed by Joerg Bornemann
parent f8645bb6c7
commit 86afe889b0

View File

@@ -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);