diff --git a/src/corelib/tools/qlinkedlist.h b/src/corelib/tools/qlinkedlist.h index 572bdfba5d..28386c632c 100644 --- a/src/corelib/tools/qlinkedlist.h +++ b/src/corelib/tools/qlinkedlist.h @@ -48,6 +48,8 @@ #include #include +#include + QT_BEGIN_NAMESPACE @@ -404,7 +406,7 @@ template bool QLinkedList::removeOne(const T &_t) { detach(); - iterator it = qFind(begin(), end(), _t); + iterator it = std::find(begin(), end(), _t); if (it != end()) { erase(it); return true;