From da474a16a959feaeae0631eed80c38093e99db0e Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Mon, 10 Apr 2017 08:35:52 +0000 Subject: [PATCH] Fix formating --- include/storage/serialization.hpp | 5 ++--- include/util/vector_view.hpp | 5 ++++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/include/storage/serialization.hpp b/include/storage/serialization.hpp index d2a126d9b..1a81222df 100644 --- a/include/storage/serialization.hpp +++ b/include/storage/serialization.hpp @@ -1,8 +1,8 @@ #ifndef OSRM_STORAGE_SERIALIZATION_HPP #define OSRM_STORAGE_SERIALIZATION_HPP -#include "util/vector_view.hpp" #include "util/integer_range.hpp" +#include "util/vector_view.hpp" #include "storage/io.hpp" @@ -14,8 +14,7 @@ namespace storage { namespace serialization { -template -inline void read(storage::io::FileReader &reader, stxxl::vector &vec) +template inline void read(storage::io::FileReader &reader, stxxl::vector &vec) { auto size = reader.ReadOne(); vec.reserve(size); diff --git a/include/util/vector_view.hpp b/include/util/vector_view.hpp index 4269c6766..2c8482477 100644 --- a/include/util/vector_view.hpp +++ b/include/util/vector_view.hpp @@ -177,7 +177,10 @@ template void swap(vector_view &lhs, vector_view } template -using InternalOrExternalVector = typename std::conditional, std::vector>::type; +using InternalOrExternalVector = + typename std::conditional, + std::vector>::type; template using ViewOrVector = typename std::conditional