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:
authorVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2016-11-16 14:59:48 +0300
committerVladimir Byko-Ianko <v.bykoianko@corp.mail.ru>2016-11-16 16:57:27 +0300
commit0ffae52152c4735a38406fe8b9bae1f2809d71f4 (patch)
tree6a0a3acee2bd4120e202235b1c9272fcd6054c1f /generator
parent672a8001c2d366e0aabbd3ad33eec7c7c8cbea02 (diff)
Minor fixes.
Diffstat (limited to 'generator')
-rw-r--r--generator/gen_mwm_info.hpp2
-rw-r--r--generator/generator_tests_support/restriction_helpers.cpp4
-rw-r--r--generator/generator_tests_support/restriction_helpers.hpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/generator/gen_mwm_info.hpp b/generator/gen_mwm_info.hpp
index 6b18742a21..9a36814a7b 100644
--- a/generator/gen_mwm_info.hpp
+++ b/generator/gen_mwm_info.hpp
@@ -65,7 +65,7 @@ public:
template <class Fn>
void ForEach(Fn && fn) const
{
- for (ValueT const & v : m_data)
+ for (auto const & v : m_data)
fn(v);
}
};
diff --git a/generator/generator_tests_support/restriction_helpers.cpp b/generator/generator_tests_support/restriction_helpers.cpp
index c65a1f2f64..d4ff6cba77 100644
--- a/generator/generator_tests_support/restriction_helpers.cpp
+++ b/generator/generator_tests_support/restriction_helpers.cpp
@@ -22,13 +22,13 @@ void ReEncodeOsmIdsToFeatureIdsMapping(string const & mappingContent, string con
strings::SimpleTokenizer idIter(*lineIter, ", \t" /* id delimiters */);
uint64_t osmId = 0;
TEST(idIter, ());
- TEST(strings::to_uint64(*idIter, osmId), ("Cannot covert to uint64_t:", *idIter));
+ TEST(strings::to_uint64(*idIter, osmId), ("Cannot convert to uint64_t:", *idIter));
TEST(idIter, ("Wrong feature ids to osm ids mapping."));
++idIter;
uint32_t featureId = 0;
TEST(idIter, ());
- TEST(strings::to_uint(*idIter, featureId), ("Cannot covert to uint:", *idIter));
+ TEST(strings::to_uint(*idIter, featureId), ("Cannot convert to uint:", *idIter));
osmIdsToFeatureIds.Add(make_pair(osmId, featureId));
++idIter;
TEST(!idIter, ());
diff --git a/generator/generator_tests_support/restriction_helpers.hpp b/generator/generator_tests_support/restriction_helpers.hpp
index 1b2b4cc9a8..83f1a174f2 100644
--- a/generator/generator_tests_support/restriction_helpers.hpp
+++ b/generator/generator_tests_support/restriction_helpers.hpp
@@ -11,7 +11,7 @@ namespace generator
/// 20, 2
/// 30, 3,
/// 40, 4
-/// \parma outputFilePath full path to an output file where the mapping is saved.
+/// \param outputFilePath full path to an output file where the mapping is saved.
void ReEncodeOsmIdsToFeatureIdsMapping(string const & mappingContent,
string const & outputFilePath);
} // namespace generator