Apply clang format

This commit is contained in:
Patrick Niklaus 2017-03-20 16:00:44 +00:00 committed by Patrick Niklaus
parent e902ab4693
commit 98529ee071
2 changed files with 3 additions and 2 deletions

View File

@ -120,7 +120,8 @@ class CellCustomizer
{ {
const NodeID to = graph.GetTarget(edge); const NodeID to = graph.GetTarget(edge);
const auto &data = graph.GetEdgeData(edge); const auto &data = graph.GetEdgeData(edge);
if (data.forward && (first_level || if (data.forward &&
(first_level ||
partition.GetCell(level - 1, node) != partition.GetCell(level - 1, to))) partition.GetCell(level - 1, node) != partition.GetCell(level - 1, to)))
{ {
const EdgeWeight to_weight = data.weight + weight; const EdgeWeight to_weight = data.weight + weight;

View File

@ -2,8 +2,8 @@
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>
#include "customizer/cell_customizer.hpp" #include "customizer/cell_customizer.hpp"
#include "partition/multi_level_partition.hpp"
#include "partition/multi_level_graph.hpp" #include "partition/multi_level_graph.hpp"
#include "partition/multi_level_partition.hpp"
#include "util/static_graph.hpp" #include "util/static_graph.hpp"
using namespace osrm; using namespace osrm;