Fix compilation error with gcc 7.4.1, ambiguous overload
ClosedPublic

Authored by dfaure on Sat, Nov 30, 9:42 PM.

Details

Summary

test_lldbformatters.cpp: In member function ‘void LldbFormattersTest::testQSetString()’:
test_lldbformatters.cpp:837:62: error: call of overloaded ‘verifyVariable(int, QString, QString, <brace-enclosed initializer list>, [...])’ is ambiguous

__FILE__, __LINE__, true, false, true)) {
                                     ^

test_lldbformatters.cpp:231:6: note: candidate: bool LldbFormattersTest::verifyVariable(int, const QString&, const QString&, QList<QPair<QString, QString> >, [...])
test_lldbformatters.cpp:208:6: note: candidate: bool LldbFormattersTest::verifyVariable(int, const QString&, const QString&, QStringList, [...])

Test Plan

Builds

Diff Detail

Repository
R32 KDevelop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dfaure created this revision.Sat, Nov 30, 9:42 PM
Restricted Application added a project: KDevelop. · View Herald TranscriptSat, Nov 30, 9:42 PM
Restricted Application added a subscriber: kdevelop-devel. · View Herald Transcript
dfaure requested review of this revision.Sat, Nov 30, 9:42 PM
apol accepted this revision.Sun, Dec 1, 1:18 AM
apol added a subscriber: apol.

Thanks!

This revision is now accepted and ready to land.Sun, Dec 1, 1:18 AM
This revision was automatically updated to reflect the committed changes.