forked from qt-creator/qt-creator
Remove spaces in initializer lists
Format initializer lists code style like. Change-Id: Ib82c235e4ba7dc75ee96a7abc0c47eff7b0a9013 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -353,9 +353,9 @@ static QString addConstRefIfNeeded(const QString &argument)
|
||||
return argument;
|
||||
|
||||
// for those types we don't want to add "const &"
|
||||
static const QStringList nonConstRefs = QStringList({ "bool", "int", "uint", "float", "double",
|
||||
"long", "short", "char", "signed",
|
||||
"unsigned", "qint64", "quint64" });
|
||||
static const QStringList nonConstRefs = QStringList({"bool", "int", "uint", "float", "double",
|
||||
"long", "short", "char", "signed",
|
||||
"unsigned", "qint64", "quint64"});
|
||||
|
||||
for (int i = 0; i < nonConstRefs.count(); i++) {
|
||||
const QString nonConstRef = nonConstRefs.at(i);
|
||||
|
||||
Reference in New Issue
Block a user