clang-format-3.8 changed files
This commit is contained in:
parent
24d0af6faf
commit
cf13a9714d
@ -152,7 +152,7 @@ template <template <typename A> class FacadeT, typename AlgorithmT> class DataFa
|
|||||||
std::unordered_map<std::string, extractor::ClassData> name_to_class;
|
std::unordered_map<std::string, extractor::ClassData> name_to_class;
|
||||||
const extractor::ProfileProperties *properties = nullptr;
|
const extractor::ProfileProperties *properties = nullptr;
|
||||||
};
|
};
|
||||||
}
|
} // namespace engine
|
||||||
}
|
} // namespace osrm
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -130,7 +130,7 @@ struct ExtractionTurn
|
|||||||
double weight;
|
double weight;
|
||||||
double duration;
|
double duration;
|
||||||
};
|
};
|
||||||
}
|
} // namespace extractor
|
||||||
}
|
} // namespace osrm
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -110,7 +110,7 @@ class Sol2ScriptingEnvironment final : public ScriptingEnvironment
|
|||||||
tbb::enumerable_thread_specific<std::unique_ptr<LuaScriptingContext>> script_contexts;
|
tbb::enumerable_thread_specific<std::unique_ptr<LuaScriptingContext>> script_contexts;
|
||||||
const LocationDependentData location_dependent_data;
|
const LocationDependentData location_dependent_data;
|
||||||
};
|
};
|
||||||
}
|
} // namespace extractor
|
||||||
}
|
} // namespace osrm
|
||||||
|
|
||||||
#endif /* SCRIPTING_ENVIRONMENT_LUA_HPP */
|
#endif /* SCRIPTING_ENVIRONMENT_LUA_HPP */
|
||||||
|
@ -424,8 +424,8 @@ void Sol2ScriptingEnvironment::InitContext(LuaScriptingContext &context)
|
|||||||
"get_relations",
|
"get_relations",
|
||||||
[&getTypedRefBySol](ExtractionRelationContainer &cont, const sol::object &obj)
|
[&getTypedRefBySol](ExtractionRelationContainer &cont, const sol::object &obj)
|
||||||
-> const ExtractionRelationContainer::RelationIDList & {
|
-> const ExtractionRelationContainer::RelationIDList & {
|
||||||
return cont.GetRelations(getTypedRefBySol(obj));
|
return cont.GetRelations(getTypedRefBySol(obj));
|
||||||
},
|
},
|
||||||
"relation",
|
"relation",
|
||||||
[](ExtractionRelationContainer &cont, const ExtractionRelation::OsmIDTyped &rel_id)
|
[](ExtractionRelationContainer &cont, const ExtractionRelation::OsmIDTyped &rel_id)
|
||||||
-> const ExtractionRelation & { return cont.GetRelationData(rel_id); });
|
-> const ExtractionRelation & { return cont.GetRelationData(rel_id); });
|
||||||
|
Loading…
Reference in New Issue
Block a user