qlogging: replace QSL with QL1SV
Also while touching code, replace arg usage with QSB to prevent temp allocation Change-Id: I3573266dbee8a00ae917773c107b5df7774acb79 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
4660a230d5
commit
c22d393afd
@ -1350,8 +1350,7 @@ void QMessagePattern::setPattern(const QString &pattern)
|
|||||||
inIf = false;
|
inIf = false;
|
||||||
} else {
|
} else {
|
||||||
tokens[i] = emptyTokenC;
|
tokens[i] = emptyTokenC;
|
||||||
error += QStringLiteral("QT_MESSAGE_PATTERN: Unknown placeholder %1\n")
|
error += "QT_MESSAGE_PATTERN: Unknown placeholder "_L1 + lexeme + '\n'_L1;
|
||||||
.arg(lexeme);
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
using UP = std::unique_ptr<char[]>;
|
using UP = std::unique_ptr<char[]>;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user