Fix possible warnings

See issue #1603.
This commit is contained in:
Martin Kleusberg
2018-11-08 16:24:21 +01:00
parent 11ace1efa6
commit a81ea2b983
3 changed files with 7 additions and 7 deletions

View File

@@ -1163,7 +1163,7 @@ QString CreateTableWalker::parseConflictClause(antlr::RefAST c)
QString IndexedColumn::toString(const QString& indent, const QString& sep) const
{
QString name = m_isExpression ? m_name : escapeIdentifier(m_name);
QString order = (m_order.isEmpty() ? "" : (sep + m_order));
QString order = (m_order.isEmpty() ? QString("") : (sep + m_order));
return indent + name + order;
}