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
+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)