Replace boost::filesystem with std (#6432)
This commit is contained in:
@@ -10,12 +10,16 @@
|
||||
|
||||
#include <boost/assert.hpp>
|
||||
|
||||
#include <cstdint>
|
||||
#include <filesystem>
|
||||
#include <type_traits>
|
||||
|
||||
namespace osrm::guidance::files
|
||||
{
|
||||
|
||||
// reads .osrm.edges
|
||||
template <typename TurnDataT>
|
||||
inline void readTurnData(const boost::filesystem::path &path,
|
||||
inline void readTurnData(const std::filesystem::path &path,
|
||||
TurnDataT &turn_data,
|
||||
std::uint32_t &connectivity_checksum)
|
||||
{
|
||||
@@ -32,7 +36,7 @@ inline void readTurnData(const boost::filesystem::path &path,
|
||||
|
||||
// writes .osrm.edges
|
||||
template <typename TurnDataT>
|
||||
inline void writeTurnData(const boost::filesystem::path &path,
|
||||
inline void writeTurnData(const std::filesystem::path &path,
|
||||
const TurnDataT &turn_data,
|
||||
const std::uint32_t connectivity_checksum)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user