Fix compilation error with gcc 7.4.1, ambiguous overload
ClosedPublic

Authored by dfaure on Nov 30 2019, 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.Nov 30 2019, 9:42 PM
Restricted Application added a project: KDevelop. · View Herald TranscriptNov 30 2019, 9:42 PM
Restricted Application added a subscriber: kdevelop-devel. · View Herald Transcript
dfaure requested review of this revision.Nov 30 2019, 9:42 PM
apol accepted this revision.Dec 1 2019, 1:18 AM
apol added a subscriber: apol.

Thanks!

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