[search marks] review fix

This commit is contained in:
Arsentiy Milchakov 2020-08-05 11:57:48 +03:00 committed by Anatoliy V. Tomilov
parent 393292b3aa
commit 2c197463a8

View file

@ -756,7 +756,7 @@ void SearchMarks::ClearVisited()
void SearchMarks::SetUnavailable(FeatureID const & id, std::string const & reasonKey)
{
m_unavailable[id] = reasonKey;
m_unavailable.insert_or_assign(id, reasonKey);
}
bool SearchMarks::IsUnavailable(FeatureID const & id) const