Remove superflous iostreams include from header files (#6901)

This commit is contained in:
Dennis Luxen
2024-05-25 09:17:45 +02:00
committed by GitHub
parent 640df69aa1
commit 8306ed8ae3
17 changed files with 15 additions and 30 deletions
+1
View File
@@ -5,6 +5,7 @@
#include <algorithm>
#include <iomanip>
#include <iostream>
#include <numeric>
#include <random>
#include <string>
@@ -9,8 +9,6 @@
#include <limits>
#include <string>
#include <iostream>
namespace osrm::extractor
{
-1
View File
@@ -50,7 +50,6 @@
#include <atomic>
#include <bitset>
#include <chrono>
#include <iostream>
#include <memory>
#include <thread>
#include <tuple>
-1
View File
@@ -1,6 +1,5 @@
#include "partitioner/bisection_graph_view.hpp"
#include <iostream>
#include <iterator>
#include <boost/assert.hpp>
-1
View File
@@ -31,7 +31,6 @@
#include <cstdint>
#include <fstream>
#include <iostream>
#include <iterator>
#include <new>
#include <string>
+3
View File
@@ -3,6 +3,9 @@
#include "util/exception_utils.hpp"
#include <boost/algorithm/string/case_conv.hpp>
#include <istream>
#include <string>
namespace osrm::storage
{
std::istream &operator>>(std::istream &in, FeatureDataset &datasets)
+1
View File
@@ -9,6 +9,7 @@
#include <cstdlib>
#include <exception>
#include <iostream>
#include <new>
#include <thread>
+3 -11
View File
@@ -1,16 +1,8 @@
#include "util/coordinate_calculation.hpp"
#ifndef NDEBUG
#include "util/log.hpp"
#endif
#include "osrm/coordinate.hpp"
#ifndef NDEBUG
#include <bitset>
#endif
#include <iomanip>
#include <iostream>
#include <limits>
#include "util/coordinate_calculation.hpp"
#include <cstdint>
namespace osrm::util
{
-2
View File
@@ -1,7 +1,5 @@
#include "util/exception.hpp"
#include <utility>
// This function exists to 'anchor' the class, and stop the compiler from
// copying vtable and RTTI info into every object file that includes
// this header. (Caught by -Wweak-vtables under Clang.)
-4
View File
@@ -1,11 +1,7 @@
#include "util/guidance/turn_lanes.hpp"
#include <algorithm>
#include <iostream>
#include <tuple>
#include <boost/assert.hpp>
namespace osrm::util::guidance
{
LaneTuple::LaneTuple() : lanes_in_turn(0), first_lane_from_the_right(INVALID_LANEID)