0008-Add-missing-limits-include.patch 978 B

1234567891011121314151617181920212223242526272829303132
  1. From 87a869a8404047240cccaa9f101351aeb9417a26 Mon Sep 17 00:00:00 2001
  2. From: Nicolas Fella <nicolas.fella@kdab.com>
  3. Date: Sun, 20 Jun 2021 17:36:41 +0200
  4. Subject: [PATCH] Add missing limits include
  5. The code uses std::numeric_limits but is lacking the appropriate include
  6. Pick-to: 5.15 6.1 6.2
  7. Change-Id: I41fa5ac4d8c4e06f35b5b1551ef2ad8417df80bd
  8. Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
  9. [Upstream: https://code.qt.io/cgit/qt/qtbase.git/patch/?id=2b2b3155d9f6ba1e4f859741468fbc47db09292b]
  10. Signed-off-by: Peter Seiderer <ps.report@gmx.net>
  11. ---
  12. src/corelib/tools/qoffsetstringarray_p.h | 1 +
  13. 1 file changed, 1 insertion(+)
  14. diff --git a/src/corelib/tools/qoffsetstringarray_p.h b/src/corelib/tools/qoffsetstringarray_p.h
  15. index 4dd9e960..e26a57ff 100644
  16. --- a/src/corelib/tools/qoffsetstringarray_p.h
  17. +++ b/src/corelib/tools/qoffsetstringarray_p.h
  18. @@ -55,6 +55,7 @@
  19. #include <tuple>
  20. #include <array>
  21. +#include <limits>
  22. QT_BEGIN_NAMESPACE
  23. --
  24. 2.32.0