Skip to content

Commit 2d5d130

Browse files
kinkardDennisOSRM
andauthored
chore: Remove unused C++ headers (#7105)
* chore: Remove unused std and boost headers fix * docs: Update changelog * fix: gcc 13 compilation * fix: gcc 12 compilation --------- Co-authored-by: Dennis Luxen <[email protected]>
1 parent f3615b4 commit 2d5d130

File tree

189 files changed

+18
-319
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

189 files changed

+18
-319
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions

include/contractor/contractor_config.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3232
#include "updater/updater_config.hpp"
3333

3434
#include <filesystem>
35-
#include <string>
3635

3736
namespace osrm::contractor
3837
{

include/contractor/graph_contractor.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
#include "util/filtered_graph.hpp"
77

8-
#include <tuple>
98
#include <vector>
109

1110
namespace osrm::contractor

include/customizer/customizer_config.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
#ifndef OSRM_CUSTOMIZE_CUSTOMIZER_CONFIG_HPP
22
#define OSRM_CUSTOMIZE_CUSTOMIZER_CONFIG_HPP
33

4-
#include <array>
54
#include <filesystem>
6-
#include <string>
75

86
#include "storage/io_config.hpp"
97
#include "updater/updater_config.hpp"

include/engine/api/route_api.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#include "util/integer_range.hpp"
2828
#include "util/json_util.hpp"
2929

30+
#include <bitset>
3031
#include <iterator>
3132
#include <map>
3233
#include <vector>

include/engine/api/trip_parameters.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3131
#include "engine/api/route_parameters.hpp"
3232

3333
#include <optional>
34-
#include <vector>
3534

3635
namespace osrm::engine::api
3736
{

include/engine/base64.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,10 @@
33

44
#include <iterator>
55
#include <string>
6-
#include <type_traits>
7-
#include <vector>
86

97
#include <climits>
108
#include <cstddef>
119

12-
#include <boost/algorithm/string/trim.hpp>
1310
#include <boost/archive/iterators/base64_from_binary.hpp>
1411
#include <boost/archive/iterators/binary_from_base64.hpp>
1512
#include <boost/archive/iterators/transform_width.hpp>

include/engine/datafacade/contiguous_internalmem_datafacade.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
#include <algorithm>
2323
#include <cstddef>
2424
#include <iterator>
25-
#include <limits>
2625
#include <memory>
2726
#include <string>
2827
#include <utility>

include/engine/datafacade/datafacade_base.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
#include <ranges>
3737
#include <string>
3838
#include <string_view>
39-
#include <utility>
4039
#include <vector>
4140

4241
namespace osrm::engine::datafacade

include/engine/datafacade/mmap_memory_allocator.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
#include <boost/iostreams/device/mapped_file.hpp>
1111

12-
#include <memory>
1312
#include <string>
1413

1514
namespace osrm::engine::datafacade

0 commit comments

Comments
 (0)