Skip to content

Commit

Permalink
Add missing <set> and <vector> includes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmr committed Mar 30, 2018
2 parents 926edee + c997cf6 commit 8ae53ee
Show file tree
Hide file tree
Showing 23 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/s2/id_set_lexicon.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include "s2/id_set_lexicon.h"

#include <algorithm>
#include <vector>

#include "s2/base/logging.h"

Expand Down
2 changes: 2 additions & 0 deletions src/s2/id_set_lexicon_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

#include "s2/id_set_lexicon.h"

#include <vector>

#include <gtest/gtest.h>

void ExpectIdSet(const std::vector<int32>& expected,
Expand Down
2 changes: 2 additions & 0 deletions src/s2/s2builder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@
#include <memory>
#include <numeric>
#include <string>
#include <vector>

#include "s2/base/casts.h"
#include "s2/base/logging.h"
#include "s2/third_party/absl/memory/memory.h"
Expand Down
2 changes: 2 additions & 0 deletions src/s2/s2builder_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#include <iostream>
#include <memory>
#include <string>
#include <vector>

#include "s2/base/commandlineflags.h"
#include "s2/base/log_severity.h"
#include "s2/base/timer.h"
Expand Down
2 changes: 2 additions & 0 deletions src/s2/s2builderutil_find_polygon_degeneracies.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#ifndef S2_S2BUILDERUTIL_FIND_POLYGON_DEGENERACIES_H_
#define S2_S2BUILDERUTIL_FIND_POLYGON_DEGENERACIES_H_

#include <vector>

#include "s2/third_party/absl/base/integral_types.h"
#include "s2/s2builder_graph.h"
#include "s2/s2error.h"
Expand Down
2 changes: 2 additions & 0 deletions src/s2/s2builderutil_testing.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#ifndef S2_S2BUILDERUTIL_TESTING_H_
#define S2_S2BUILDERUTIL_TESTING_H_

#include <vector>

#include "s2/third_party/absl/memory/memory.h"
#include "s2/s2builder.h"
#include "s2/s2builder_graph.h"
Expand Down
1 change: 1 addition & 0 deletions src/s2/s2cap.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <algorithm>
#include <cmath>
#include <iosfwd>
#include <vector>

#include "s2/base/logging.h"
#include "s2/_fp_contract_off.h"
Expand Down
2 changes: 2 additions & 0 deletions src/s2/s2closest_edge_query_testing.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#ifndef S2_S2CLOSEST_EDGE_QUERY_TESTING_H_
#define S2_S2CLOSEST_EDGE_QUERY_TESTING_H_

#include <vector>

#include "s2/mutable_s2shape_index.h"
#include "s2/s1angle.h"
#include "s2/s2cap.h"
Expand Down
2 changes: 2 additions & 0 deletions src/s2/s2closest_point_query.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#ifndef S2_S2CLOSEST_POINT_QUERY_H_
#define S2_S2CLOSEST_POINT_QUERY_H_

#include <vector>

#include "s2/base/logging.h"
#include "s2/s1angle.h"
#include "s2/s1chord_angle.h"
Expand Down
2 changes: 2 additions & 0 deletions src/s2/s2contains_point_query.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#ifndef S2_S2CONTAINS_POINT_QUERY_H_
#define S2_S2CONTAINS_POINT_QUERY_H_

#include <vector>

#include "s2/s2edge_crosser.h"
#include "s2/s2shape_index.h"
#include "s2/s2shapeutil_shape_edge.h"
Expand Down
2 changes: 2 additions & 0 deletions src/s2/s2furthest_edge_query.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

#include "s2/s2furthest_edge_query.h"

#include <vector>

#include "s2/s2edge_distances.h"

void S2FurthestEdgeQuery::Options::set_conservative_min_distance(
Expand Down
1 change: 1 addition & 0 deletions src/s2/s2latlng_rect_bounder_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#include <cfloat>
#include <string>
#include <vector>

#include <gtest/gtest.h>
#include "s2/third_party/absl/strings/str_cat.h"
Expand Down
2 changes: 2 additions & 0 deletions src/s2/s2lax_loop_shape.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

#include "s2/s2lax_loop_shape.h"

#include <vector>

#include "s2/s2loop.h"
#include "s2/s2shapeutil_get_reference_point.h"

Expand Down
2 changes: 2 additions & 0 deletions src/s2/s2lax_polyline_shape.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#define S2_S2LAX_POLYLINE_SHAPE_H_

#include <memory>
#include <vector>

#include "s2/s2polyline.h"
#include "s2/s2shape.h"

Expand Down
2 changes: 2 additions & 0 deletions src/s2/s2point_vector_shape_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

#include "s2/s2point_vector_shape.h"

#include <vector>

#include <gtest/gtest.h>
#include "s2/s2testing.h"

Expand Down
1 change: 1 addition & 0 deletions src/s2/s2polygon_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <cstdlib>
#include <limits>
#include <memory>
#include <set>
#include <string>
#include <utility>
#include <vector>
Expand Down
2 changes: 2 additions & 0 deletions src/s2/s2polyline_alignment_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
#include "s2/s2polyline_alignment.h"
#include "s2/s2polyline_alignment_internal.h"

#include <vector>

#include <gtest/gtest.h>

#include "s2/base/stringprintf.h"
Expand Down
2 changes: 2 additions & 0 deletions src/s2/s2polyline_simplifier_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#include "s2/s2polyline_simplifier.h"

#include <cfloat>
#include <vector>

#include <gtest/gtest.h>
#include "s2/s1angle.h"
#include "s2/s1chord_angle.h"
Expand Down
2 changes: 2 additions & 0 deletions src/s2/s2region.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

#include "s2/s2region.h"

#include <vector>

#include "s2/s2cap.h"

void S2Region::GetCellUnionBound(std::vector<S2CellId> *cell_ids) const {
Expand Down
2 changes: 2 additions & 0 deletions src/s2/s2region.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#ifndef S2_S2REGION_H_
#define S2_S2REGION_H_

#include <vector>

#include "s2/_fp_contract_off.h"
#include "s2/s1angle.h"

Expand Down
1 change: 1 addition & 0 deletions src/s2/s2region_term_indexer_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#include <cstdio>
#include <memory>
#include <set>
#include <string>
#include <unordered_map>
#include <vector>
Expand Down
2 changes: 2 additions & 0 deletions src/s2/s2shapeutil_edge_iterator_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

#include "s2/s2shapeutil_edge_iterator.h"

#include <vector>

#include <gtest/gtest.h>
#include "s2/mutable_s2shape_index.h"
#include "s2/s2text_format.h"
Expand Down
1 change: 1 addition & 0 deletions src/s2/sequence_lexicon_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#include <array>
#include <memory>
#include <vector>

#include "s2/base/logging.h"
#include <gtest/gtest.h>
Expand Down

0 comments on commit 8ae53ee

Please sign in to comment.