Fix formatting

This commit is contained in:
Dennis Luxen
2022-12-20 18:00:11 +01:00
parent d7c44f0bc0
commit 7c06726a35
454 changed files with 461 additions and 461 deletions
+1 -1
View File
@@ -35,6 +35,6 @@ template <typename T> Block make_block(uint64_t num_entries)
static_assert(sizeof(T) % alignof(T) == 0, "aligned T* can't be used as an array pointer");
return Block{num_entries, sizeof(T) * num_entries, 0};
}
} // namespace osrm
} // namespace osrm::storage
#endif
+1 -1
View File
@@ -384,6 +384,6 @@ class BufferWriter
private:
std::ostringstream output_stream;
};
} // namespace osrm
} // namespace osrm::storage::io
#endif
+1 -1
View File
@@ -79,6 +79,6 @@ struct IOConfig
std::vector<boost::filesystem::path> optional_input_files;
std::vector<boost::filesystem::path> output_files;
};
} // namespace osrm
} // namespace osrm::storage
#endif
+1 -1
View File
@@ -7,6 +7,6 @@ namespace osrm::storage::io
class FileReader;
class FileWriter;
} // namespace osrm
} // namespace osrm::storage::io
#endif
+1 -1
View File
@@ -264,6 +264,6 @@ inline void write(io::BufferWriter &writer, const BaseDataLayout &layout)
{
write(writer, layout.blocks);
}
} // namespace osrm
} // namespace osrm::storage::serialization
#endif
+1 -1
View File
@@ -93,6 +93,6 @@ class SharedDataIndex
std::vector<AllocatedRegion> regions;
std::unordered_map<std::string, std::uint32_t> block_to_region;
};
} // namespace osrm
} // namespace osrm::storage
#endif
+1 -1
View File
@@ -296,6 +296,6 @@ struct SharedRegionRegister
std::array<SharedRegion, MAX_SHARED_REGIONS> regions;
std::array<bool, MAX_SHM_KEYS> shm_key_in_use;
};
} // namespace osrm
} // namespace osrm::storage
#endif /* SHARED_DATA_TYPE_HPP */
+1 -1
View File
@@ -309,6 +309,6 @@ std::unique_ptr<SharedMemory> makeSharedMemory(const IdentifierT &id, const uint
throw util::exception(e.what() + SOURCE_REF);
}
}
} // namespace osrm
} // namespace osrm::storage
#endif // SHARED_MEMORY_HPP
+1 -1
View File
@@ -10,6 +10,6 @@ enum class Ownership
View,
External
};
} // namespace osrm
} // namespace osrm::storage
#endif // SHARED_MEMORY_OWNERSHIP_HPP
+1 -1
View File
@@ -232,7 +232,7 @@ template <typename Data> struct SharedMonitor
bi::shared_memory_object shmem;
bi::mapped_region region;
};
} // namespace osrm
} // namespace osrm::storage
#undef USE_BOOST_INTERPROCESS_CONDITION
+1 -1
View File
@@ -59,6 +59,6 @@ class Storage
private:
StorageConfig config;
};
} // namespace osrm
} // namespace osrm::storage
#endif
+1 -1
View File
@@ -73,6 +73,6 @@ struct StorageConfig final : IOConfig
{
}
};
} // namespace osrm
} // namespace osrm::storage
#endif
+1 -1
View File
@@ -308,6 +308,6 @@ class FileWriter
boost::filesystem::path path;
mtar_t handle;
};
} // namespace osrm
} // namespace osrm::storage::tar
#endif
+1 -1
View File
@@ -7,6 +7,6 @@ namespace osrm::storage::tar
class FileReader;
class FileWriter;
} // namespace osrm
} // namespace osrm::storage::tar
#endif
+1 -1
View File
@@ -362,6 +362,6 @@ inline auto make_filtered_graph_view(const SharedDataIndex &index,
return util::FilteredGraphView<contractor::QueryGraphView>({node_list, edge_list}, edge_filter);
}
} // namespace osrm
} // namespace osrm::storage
#endif