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

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--metrics/eye_info.hpp9
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