Skip to content

Commit

Permalink
fix: Missing includes
Browse files Browse the repository at this point in the history
  • Loading branch information
Stepan Kizim committed Feb 7, 2025
1 parent 5f3a645 commit f76d8de
Show file tree
Hide file tree
Showing 20 changed files with 8 additions and 20 deletions.
1 change: 1 addition & 0 deletions include/engine/api/route_api.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include "util/integer_range.hpp"
#include "util/json_util.hpp"

#include <bitset>
#include <iterator>
#include <map>
#include <vector>
Expand Down
3 changes: 0 additions & 3 deletions include/engine/base64.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,13 @@

#include <iterator>
#include <string>
#include <type_traits>

#include <climits>
#include <cstddef>

#include <boost/algorithm/string/trim.hpp>
#include <boost/archive/iterators/base64_from_binary.hpp>
#include <boost/archive/iterators/binary_from_base64.hpp>
#include <boost/archive/iterators/transform_width.hpp>
#include <boost/range/algorithm/copy.hpp>

namespace osrm
{
Expand Down
1 change: 0 additions & 1 deletion include/engine/polyline_compressor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#include "util/coordinate.hpp"

#include <algorithm>
#include <string>
#include <vector>

Expand Down
3 changes: 0 additions & 3 deletions include/extractor/edge_based_graph_factory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@
#include "storage/io.hpp"
#include "traffic_signals.hpp"

#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <iosfwd>
#include <string>
#include <unordered_set>
#include <vector>
Expand Down
1 change: 0 additions & 1 deletion include/extractor/internal_extractor_edge.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include "util/typedefs.hpp"

#include <boost/assert.hpp>
#include <variant>

namespace osrm::extractor
{
Expand Down
2 changes: 0 additions & 2 deletions include/extractor/maneuver_override.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
#include "util/std_hash.hpp"
#include "util/vector_view.hpp"

#include <variant>

#include <algorithm>

namespace osrm::extractor
Expand Down
1 change: 0 additions & 1 deletion include/extractor/node_based_graph_factory.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "util/coordinate.hpp"
#include "util/node_based_graph.hpp"

#include <filesystem>
#include <unordered_set>
#include <vector>

Expand Down
1 change: 0 additions & 1 deletion include/extractor/raster_source.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include <storage/io.hpp>

#include <filesystem>
#include <iterator>
#include <string>
#include <unordered_map>

Expand Down
2 changes: 1 addition & 1 deletion include/extractor/road_classification.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define OSRM_EXTRACTOR_CLASSIFICATION_DATA_HPP_

#include "extractor/intersection/constants.hpp"
#include <algorithm>

#include <boost/assert.hpp>
#include <cmath>
#include <cstdint>
Expand Down
1 change: 0 additions & 1 deletion include/extractor/segment_data_container.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <boost/range/adaptor/reversed.hpp>
#include <boost/range/iterator_range.hpp>

#include <filesystem>
#include <string>

namespace osrm::extractor
Expand Down
1 change: 1 addition & 0 deletions include/extractor/turn_path.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "util/typedefs.hpp"

#include <algorithm>
#include <tuple>
#include <variant>
#include <vector>

Expand Down
1 change: 1 addition & 0 deletions include/extractor/turn_path_compressor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#include "util/typedefs.hpp"

#include <unordered_map>
#include <vector>

namespace osrm::extractor
Expand Down
1 change: 1 addition & 0 deletions include/updater/source.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "util/typedefs.hpp"

#include <optional>
#include <tuple>
#include <vector>

namespace osrm::updater
Expand Down
2 changes: 0 additions & 2 deletions include/util/coordinate.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#include <boost/numeric/conversion/cast.hpp>

#include <cstddef>
#include <cstdint>
#include <iosfwd> //for std::ostream
#include <type_traits>

namespace osrm
Expand Down
1 change: 0 additions & 1 deletion include/util/for_each_indexed.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#define FOR_EACH_INDEXED_HPP

#include <iterator>
#include <numeric>

namespace osrm::util
{
Expand Down
1 change: 0 additions & 1 deletion include/util/for_each_pair.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#define FOR_EACH_PAIR_HPP

#include <iterator>
#include <numeric>
#include <utility>

namespace osrm::util
Expand Down
1 change: 0 additions & 1 deletion include/util/json_deep_compare.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

#include <boost/assert.hpp>

#include <algorithm>
#include <set>

namespace osrm::util::json
Expand Down
1 change: 0 additions & 1 deletion include/util/json_renderer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include "osrm/json_container.hpp"

#include <algorithm>
#include <iterator>
#include <ostream>
#include <string>
Expand Down
1 change: 1 addition & 0 deletions src/engine/api/json_factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include <optional>

#include <algorithm>
#include <bitset>
#include <iterator>
#include <string>
#include <utility>
Expand Down
2 changes: 2 additions & 0 deletions src/extractor/restriction_graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

#include <boost/range/algorithm/copy.hpp>

#include <numeric>

namespace osrm::extractor
{

Expand Down

0 comments on commit f76d8de

Please sign in to comment.