1 From dbb0a49610aa491c5eaa1461342485721c37354c Mon Sep 17 00:00:00 2001
2 From: Stephan Hartmann <stha09@googlemail.com>
3 Date: Fri, 14 Apr 2023 05:29:45 +0000
4 Subject: [PATCH] IWYU: add cstdint for int types in s2cellid
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}
13 third_party/s2cellid/README.chromium | 1 +
14 third_party/s2cellid/src/s2/util/math/vector.h | 1 +
15 2 files changed, 2 insertions(+)
17 diff --git a/third_party/s2cellid/README.chromium b/third_party/s2cellid/README.chromium
18 index 53c42f7342d..25044e85135 100644
19 --- a/third_party/s2cellid/README.chromium
20 +++ b/third_party/s2cellid/README.chromium
21 @@ -18,6 +18,7 @@ Local Modifications:
22 - mathutil.h mathutil.cc
24 - Change comparison operator implementations to be C++20-compliant
25 + - add missing cstdint include
29 diff --git a/third_party/s2cellid/src/s2/util/math/vector.h b/third_party/s2cellid/src/s2/util/math/vector.h
30 index ded669c1d71..487edc3f93b 100644
31 --- a/third_party/s2cellid/src/s2/util/math/vector.h
32 +++ b/third_party/s2cellid/src/s2/util/math/vector.h
40 #include <iostream> // NOLINT(readability/streams)