QtTest: compile in C++17 mode: no more std::unary_function
Change-Id: I5d0ee9389a794d80983efffd152cbce4da448ddf Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>bb10
parent
410b943516
commit
2c93ff91be
|
|
@ -138,7 +138,7 @@ QTestData *QTestTable::testData(int index) const
|
|||
return size_t(index) < d->dataList.size() ? d->dataList[index] : nullptr;
|
||||
}
|
||||
|
||||
class NamePredicate : public std::unary_function<QTestTablePrivate::Element, bool>
|
||||
class NamePredicate
|
||||
{
|
||||
public:
|
||||
explicit NamePredicate(const char *needle) : m_needle(needle) {}
|
||||
|
|
|
|||
Loading…
Reference in New Issue