tst_qglobal.cpp: fix compilation with an actual C++14 compiler
Change-Id: I66819f3708f0489006f997f43f1051b81f7b647e Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
This commit is contained in:
parent
eae6298202
commit
d4b6ed3c18
@ -732,8 +732,8 @@ void tst_QGlobal::testqOverload()
|
||||
QVERIFY(qOverload<QByteArray>(&freeOverloaded) ==
|
||||
static_cast<void (*)(QByteArray)>(&freeOverloaded));
|
||||
|
||||
QVERIFY((qOverload<QByteArray, const QString &>(&freeOverloaded)),
|
||||
static_cast<void (*)(QByteArray, const QString &)>(&freeOverloaded));
|
||||
QVERIFY((qOverload<QByteArray, const QString &>(&freeOverloaded) ==
|
||||
static_cast<void (*)(QByteArray, const QString &)>(&freeOverloaded)));
|
||||
|
||||
// value returning free overloaded functions
|
||||
QVERIFY(qOverload<>(&freeOverloadedGet) ==
|
||||
|
Loading…
Reference in New Issue
Block a user