diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2018-09-19 20:30:41 +0300 |
---|---|---|
committer | Vlad Mihaylenko <vxmihaylenko@gmail.com> | 2018-09-20 18:05:43 +0300 |
commit | 0bdf41c8281849363c173519c44c8d517d83f5fe (patch) | |
tree | 597950e56851d50ab4374a3b515d34ed5f301b3d /track_analyzing | |
parent | 5767b1f71c3ff1890f24d35da77d6e81ed3eb780 (diff) |
Review fixes.
Diffstat (limited to 'track_analyzing')
-rw-r--r-- | track_analyzing/track_analyzer/cmd_table.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/track_analyzing/track_analyzer/cmd_table.cpp b/track_analyzing/track_analyzer/cmd_table.cpp index 8cc19b6fda..705edb56b6 100644 --- a/track_analyzing/track_analyzer/cmd_table.cpp +++ b/track_analyzing/track_analyzer/cmd_table.cpp @@ -46,13 +46,7 @@ public: m_tags.push_back(classif().GetTypeByPath(additionalTag.m_hwtag)); for (auto const & speedForType : CarModel::GetLimits()) - { - vector<string> path; - for (auto const & type : speedForType.m_types) - path.push_back(type); - - m_tags.push_back(classif().GetTypeByPath(path)); - } + m_tags.push_back(classif().GetTypeByPath(speedForType.m_types)); } uint32_t GetType(FeatureType & feature) const |