D25639: Fix compilation error with gcc 7.4.1, ambiguous overload

David Faure <noreply-Buy57tU0AsCGxO/ty/[email protected]>
Newsgroups gmane.comp.kde.devel.kdevelop
Message-ID <[email protected]>
dfaure created this revision.
dfaure added reviewers: kfunk, kossebau.
Herald added a project: KDevelop.
Herald added a subscriber: kdevelop-devel.
dfaure requested review of this revision.

REVISION 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

REPOSITORY
  R32 KDevelop

BRANCH
  5.4

REVISION DETAIL
  https://phabricator.kde.org/D25639

AFFECTED FILES
  plugins/lldb/unittests/test_lldbformatters.cpp

To: dfaure, kfunk, kossebau
Cc: kdevelop-devel, hmitonneau, christiant, glebaccon, domson, antismap, iodelay, alexeymin, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.