[android] Fixed build.

This commit is contained in:
Dmitry Yunitsky 2016-05-06 19:19:37 +03:00 committed by Vladimir Byko-Ianko
parent 8852c86585
commit 2b2e022a63

View file

@ -2823,7 +2823,7 @@ bool Framework::RollBackChanges(FeatureID const & fid)
{
if (m_selectedFeature == fid) // reset selected feature since it becomes invalid after rollback
m_selectedFeature = FeatureID();
auto const & editor = osm::Editor::Instance();
auto & editor = osm::Editor::Instance();
if (editor.GetFeatureStatus(fid) == osm::Editor::FeatureStatus::Created)
DeactivateMapSelection(false);
else