CppEditor: Fix compile on Windows

Amends c960f279e6.

Change-Id: I87249b5cdd984c00e44fc21d32534174edea73d2
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2021-01-12 06:41:57 +01:00
committed by David Schulz
parent c960f279e6
commit fb64cb12bc

View File

@@ -8672,7 +8672,7 @@ private:
} }
QString inClassDeclaration = overview.prettyName(m_class->name()) + "("; QString inClassDeclaration = overview.prettyName(m_class->name()) + "(";
QString constructorBody = members.empty() ? ") {}" : ") : "; QString constructorBody = members.empty() ? QString(") {}") : QString(") : ");
for (auto &member : members) { for (auto &member : members) {
bool customValueType; bool customValueType;
if (isValueType(member.symbol, &customValueType)) if (isValueType(member.symbol, &customValueType))