Remove superflous iostreams include from header files (#6901)
This commit is contained in:
parent
640df69aa1
commit
8306ed8ae3
@ -24,7 +24,6 @@
|
||||
#include <boost/optional.hpp>
|
||||
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
#include <iterator>
|
||||
#include <sstream>
|
||||
#include <stdexcept>
|
||||
|
@ -18,6 +18,7 @@
|
||||
|
||||
#include <cerrno>
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
#include <tuple>
|
||||
#include <type_traits>
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include "util/typedefs.hpp"
|
||||
|
||||
#include <iomanip>
|
||||
#include <iostream>
|
||||
#include <ostream>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -30,7 +30,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#include <array>
|
||||
#include <exception>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
#ifndef SOURCE_MACROS_HPP
|
||||
#define SOURCE_MACROS_HPP
|
||||
#ifndef EXCEPTION_UTILS_HPP
|
||||
#define EXCEPTION_UTILS_HPP
|
||||
|
||||
#include <cstring>
|
||||
#include <string>
|
||||
|
||||
// Helper macros, don't use these ones
|
||||
// STRIP the OSRM_PROJECT_DIR from the front of a filename. Expected to come
|
||||
@ -12,4 +14,4 @@
|
||||
// This is the macro to use
|
||||
#define SOURCE_REF (OSRM_SOURCE_FILE_ + ":" + std::to_string(__LINE__))
|
||||
|
||||
#endif // SOURCE_MACROS_HPP
|
||||
#endif // EXCEPTION_UTILS_HPP
|
||||
|
@ -10,7 +10,6 @@ extern "C"
|
||||
|
||||
#include <boost/filesystem.hpp>
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
namespace osrm::util
|
||||
|
@ -9,7 +9,6 @@
|
||||
|
||||
#include <tbb/parallel_sort.h>
|
||||
|
||||
#include <iostream>
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
|
@ -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
|
||||
{
|
||||
|
||||
|
@ -50,7 +50,6 @@
|
||||
#include <atomic>
|
||||
#include <bitset>
|
||||
#include <chrono>
|
||||
#include <iostream>
|
||||
#include <memory>
|
||||
#include <thread>
|
||||
#include <tuple>
|
||||
|
@ -1,6 +1,5 @@
|
||||
#include "partitioner/bisection_graph_view.hpp"
|
||||
|
||||
#include <iostream>
|
||||
#include <iterator>
|
||||
|
||||
#include <boost/assert.hpp>
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include <cstdint>
|
||||
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
#include <iterator>
|
||||
#include <new>
|
||||
#include <string>
|
||||
|
@ -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)
|
||||
|
@ -9,6 +9,7 @@
|
||||
|
||||
#include <cstdlib>
|
||||
#include <exception>
|
||||
#include <iostream>
|
||||
#include <new>
|
||||
#include <thread>
|
||||
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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.)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user