chromium-112-gcc-13-0011-s2cellid.patch 860 B

123456789101112131415161718192021222324
  1. https://chromium-review.googlesource.com/c/chromium/src/+/4418467
  2. From dbb0a49610aa491c5eaa1461342485721c37354c Mon Sep 17 00:00:00 2001
  3. From: Stephan Hartmann <stha09@googlemail.com>
  4. Date: Fri, 14 Apr 2023 05:29:45 +0000
  5. Subject: [PATCH] IWYU: add cstdint for int types in s2cellid
  6. Bug: 957519
  7. Change-Id: I65ad411c605baeaeda3addfd07ea9b565179368b
  8. Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4418467
  9. Commit-Queue: Stephan Hartmann <stha09@googlemail.com>
  10. Reviewed-by: Andrew Moylan <amoylan@chromium.org>
  11. Cr-Commit-Position: refs/heads/main@{#1130286}
  12. --- a/third_party/s2cellid/src/s2/util/math/vector.h
  13. +++ b/third_party/s2cellid/src/s2/util/math/vector.h
  14. @@ -22,6 +22,7 @@
  15. #include <algorithm>
  16. #include <cmath>
  17. +#include <cstdint>
  18. #include <cstdlib>
  19. #include <iosfwd>
  20. #include <iostream> // NOLINT(readability/streams)