mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -4,7 +4,7 @@ namespace routing
|
||||
{
|
||||
std::string ToString(RouterType type)
|
||||
{
|
||||
switch(type)
|
||||
switch (type)
|
||||
{
|
||||
case RouterType::Vehicle: return "vehicle";
|
||||
case RouterType::Pedestrian: return "pedestrian";
|
||||
@@ -34,5 +34,8 @@ RouterType FromString(std::string const & str)
|
||||
return RouterType::Vehicle;
|
||||
}
|
||||
|
||||
std::string DebugPrint(RouterType type) { return ToString(type); }
|
||||
} // namespace routing
|
||||
std::string DebugPrint(RouterType type)
|
||||
{
|
||||
return ToString(type);
|
||||
}
|
||||
} // namespace routing
|
||||
|
||||
Reference in New Issue
Block a user