Fix typo 'Maximum number of classes if'
This commit is contained in:
parent
f7775f5e0b
commit
14082d0e00
@ -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));
|
||||
}
|
||||
|
||||
|
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user