diff options
author | Alex Zolotarev <alex@maps.me> | 2016-02-12 20:12:16 +0300 |
---|---|---|
committer | Sergey Yershov <yershov@corp.mail.ru> | 2016-03-23 16:21:15 +0300 |
commit | 54cc9869228b7ea05859ed31333387b5aa3c8506 (patch) | |
tree | 71e07ed3cb4bd6e791bebc9be66c8aeee11feee5 /indexer | |
parent | b556f22b986ff6dd72449a1a20125192f55c6e10 (diff) |
Pretty printing for DebugPrint(feature::TypesHolder).
Diffstat (limited to 'indexer')
-rw-r--r-- | indexer/feature_data.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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 |