#ifndef OSRM_CUSTOMIZER_SERIALIZATION_HPP #define OSRM_CUSTOMIZER_SERIALIZATION_HPP #include "partitioner/cell_storage.hpp" #include "storage/io.hpp" #include "storage/serialization.hpp" #include "storage/shared_memory_ownership.hpp" namespace osrm { namespace customizer { namespace serialization { template inline void read(storage::io::FileReader &reader, detail::CellMetricImpl &metric) { storage::serialization::read(reader, metric.weights); storage::serialization::read(reader, metric.durations); } template inline void write(storage::io::FileWriter &writer, const detail::CellMetricImpl &metric) { storage::serialization::write(writer, metric.weights); storage::serialization::write(writer, metric.durations); } } } } #endif