qtmochelpers.h: include what you need

A recent change fixed headerscheck complaining about missing std::min.
But <limits> was also missing, so included that, too. Added a comment
on <algorithm>, because I, too, thought std::min was in <utility>,
instead.

Change-Id: Ib22e78349c79673f7013a2ed26cd64b06e159ed0
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Marc Mutz 2022-10-04 07:49:25 +02:00
parent f4192dfcf5
commit 394e9a8d06
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,8 @@
#include <QtCore/qglobal.h>
#include <algorithm>
#include <algorithm> // std::min
#include <limits>
#if 0
#pragma qt_no_master_include