Fix typo 'Maximum number of classes if'

This commit is contained in:
Frédéric Rodrigo
2018-03-13 17:30:34 +01:00
committed by Patrick Niklaus
parent f7775f5e0b
commit 14082d0e00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ void SetClassNames(const std::vector<std::string> &class_names,
auto index = classes_map.size();
if (index > MAX_CLASS_INDEX)
{
throw util::exception("Maximum number of classes if " +
throw util::exception("Maximum number of classes is " +
std::to_string(MAX_CLASS_INDEX + 1));
}
+1 -1
View File
@@ -188,7 +188,7 @@ void ExtractorCallbacks::ProcessWay(const osmium::Way &input_way, const Extracti
{
if (classes_map.size() > MAX_CLASS_INDEX)
{
throw util::exception("Maximum number of classes if " +
throw util::exception("Maximum number of classes is " +
std::to_string(MAX_CLASS_INDEX + 1));
}
ClassData class_mask = getClassData(classes_map.size());