diff options
-rw-r--r-- | metrics/eye_info.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/metrics/eye_info.hpp b/metrics/eye_info.hpp index b0ef53b267..d9baf0143d 100644 --- a/metrics/eye_info.hpp +++ b/metrics/eye_info.hpp @@ -195,4 +195,13 @@ inline std::string DebugPrint(Tip::Event const & type) case Tip::Event::Count: return "Count"; } } + +inline std::string DebugPrint(Layer::Type const & type) +{ + switch (type) + { + case Layer::Type::TrafficJams: return "TrafficJams"; + case Layer::Type::PublicTransport: return "PublicTransport"; + } +} } // namespace eye |