Fix formating
This commit is contained in:
committed by
Patrick Niklaus
parent
d94017dfae
commit
4ec7ca29f1
@@ -6,8 +6,8 @@
|
||||
#include "util/assert.hpp"
|
||||
#include "util/for_each_range.hpp"
|
||||
#include "util/log.hpp"
|
||||
#include "util/vector_view.hpp"
|
||||
#include "util/typedefs.hpp"
|
||||
#include "util/vector_view.hpp"
|
||||
|
||||
#include "storage/io.hpp"
|
||||
#include "storage/shared_memory_ownership.hpp"
|
||||
|
||||
@@ -35,8 +35,9 @@ inline void writeGraph(const boost::filesystem::path &path,
|
||||
}
|
||||
|
||||
// read .osrm.partition file
|
||||
template<storage::Ownership Ownership>
|
||||
inline void readPartition(const boost::filesystem::path &path, detail::MultiLevelPartitionImpl<Ownership> &mlp)
|
||||
template <storage::Ownership Ownership>
|
||||
inline void readPartition(const boost::filesystem::path &path,
|
||||
detail::MultiLevelPartitionImpl<Ownership> &mlp)
|
||||
{
|
||||
const auto fingerprint = storage::io::FileReader::VerifyFingerprint;
|
||||
storage::io::FileReader reader{path, fingerprint};
|
||||
@@ -45,8 +46,9 @@ inline void readPartition(const boost::filesystem::path &path, detail::MultiLeve
|
||||
}
|
||||
|
||||
// writes .osrm.partition file
|
||||
template<storage::Ownership Ownership>
|
||||
inline void writePartition(const boost::filesystem::path &path, const detail::MultiLevelPartitionImpl<Ownership> &mlp)
|
||||
template <storage::Ownership Ownership>
|
||||
inline void writePartition(const boost::filesystem::path &path,
|
||||
const detail::MultiLevelPartitionImpl<Ownership> &mlp)
|
||||
{
|
||||
const auto fingerprint = storage::io::FileWriter::GenerateFingerprint;
|
||||
storage::io::FileWriter writer{path, fingerprint};
|
||||
@@ -55,8 +57,9 @@ inline void writePartition(const boost::filesystem::path &path, const detail::Mu
|
||||
}
|
||||
|
||||
// reads .osrm.cells file
|
||||
template<storage::Ownership Ownership>
|
||||
inline void readCells(const boost::filesystem::path &path, detail::CellStorageImpl<Ownership> &storage)
|
||||
template <storage::Ownership Ownership>
|
||||
inline void readCells(const boost::filesystem::path &path,
|
||||
detail::CellStorageImpl<Ownership> &storage)
|
||||
{
|
||||
const auto fingerprint = storage::io::FileReader::VerifyFingerprint;
|
||||
storage::io::FileReader reader{path, fingerprint};
|
||||
@@ -65,8 +68,9 @@ inline void readCells(const boost::filesystem::path &path, detail::CellStorageIm
|
||||
}
|
||||
|
||||
// writes .osrm.cells file
|
||||
template<storage::Ownership Ownership>
|
||||
inline void writeCells(const boost::filesystem::path &path, const detail::CellStorageImpl<Ownership> &storage)
|
||||
template <storage::Ownership Ownership>
|
||||
inline void writeCells(const boost::filesystem::path &path,
|
||||
const detail::CellStorageImpl<Ownership> &storage)
|
||||
{
|
||||
const auto fingerprint = storage::io::FileWriter::GenerateFingerprint;
|
||||
storage::io::FileWriter writer{path, fingerprint};
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#include "util/exception.hpp"
|
||||
#include "util/for_each_pair.hpp"
|
||||
#include "util/msb.hpp"
|
||||
#include "util/vector_view.hpp"
|
||||
#include "util/typedefs.hpp"
|
||||
#include "util/vector_view.hpp"
|
||||
|
||||
#include "storage/io.hpp"
|
||||
#include "storage/shared_memory_ownership.hpp"
|
||||
@@ -336,7 +336,8 @@ inline MultiLevelPartitionImpl<storage::Ownership::Container>::MultiLevelPartiti
|
||||
}
|
||||
|
||||
template <>
|
||||
inline MultiLevelPartitionImpl<storage::Ownership::View>::MultiLevelPartitionImpl() : level_data(nullptr)
|
||||
inline MultiLevelPartitionImpl<storage::Ownership::View>::MultiLevelPartitionImpl()
|
||||
: level_data(nullptr)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user