Welcome to mirror list, hosted at ThFree Co, Russian Federation.

router.cpp « routing - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2cfd4913609fec911e1bf978e60de7db01c8b422 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "router.hpp"

namespace routing
{

string ToString(RouterType type)
{
  switch(type)
  {
    case RouterType::Vehicle: return "Vehicle";
    case RouterType::Pedestrian: return "Pedestrian";
    case RouterType::Bicycle: return "Bicycle";
  }
  ASSERT(false, ());
  return "Error";
}

} //  namespace routing