Skip to content
  • Erik Verbruggen's avatar
    Fix compilation issue with clang. · edec1c1d
    Erik Verbruggen authored
    
    
    cppeditor.cpp:2631:13: error: use of overloaded operator '+' is ambiguous (with operand types 'QChar' and 'QChar')
                + characterAt(pos - 2)
                ^ ~~~~~~~~~~~~~~~~~~~~
    ../../../../../builds/qt5-stable/qtbase/include/QtCore/../../src/corelib/tools/qstring.h:1116:22: note: candidate function
    inline const QString operator+(const QString &s1, QChar s2)
                         ^
    ../../../../../builds/qt5-stable/qtbase/include/QtCore/../../src/corelib/tools/qstring.h:1118:22: note: candidate function
    inline const QString operator+(QChar s1, const QString &s2)
                         ^
    ../../../../../builds/qt5-stable/qtbase/include/QtCore/../../src/corelib/tools/qstring.h:1114:22: note: candidate function
    inline const QString operator+(const QString &s1, const QString &s2)
                         ^
    
    Change-Id: I65663a901d301d6b0a3df2c8b5631e9aa5ab081b
    Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
    edec1c1d