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:
parent
e418a9b9bf
commit
f1448b29e3
@ -17,6 +17,8 @@
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#if 0
|
||||
#pragma qt_no_master_include
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user