From 54cc9869228b7ea05859ed31333387b5aa3c8506 Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Fri, 12 Feb 2016 20:12:16 +0300 Subject: [PATCH] Pretty printing for DebugPrint(feature::TypesHolder). --- indexer/feature_data.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/indexer/feature_data.cpp b/indexer/feature_data.cpp index 94a459219d..8dd3da74ce 100644 --- a/indexer/feature_data.cpp +++ b/indexer/feature_data.cpp @@ -23,7 +23,9 @@ string DebugPrint(TypesHolder const & holder) Classificator const & c = classif(); string s; for (uint32_t type : holder) - s += c.GetFullObjectName(type) + " "; + s += c.GetReadableObjectName(type) + " "; + if (!s.empty()) + s.pop_back(); return s; } } // namespace feature