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: 946a12c8ae2e4805187195728c90550a9f090146 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "router.hpp"

namespace routing
{

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

} //  namespace routing