Add <algorithm> include to qtmochelpers.h

std::min is defined in header <algorithm>. It seems that the
latest macOS/iOS clang fails without it.

Change-Id: I3d1cfad27244580ea975db870d993cce394b4b2f
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Kai Köhne 2022-10-03 16:03:57 +02:00 committed by Kai Koehne
parent e418a9b9bf
commit f1448b29e3

View File

@ -17,6 +17,8 @@
#include <QtCore/qglobal.h>
#include <algorithm>
#if 0
#pragma qt_no_master_include
#endif