diff --git a/indexer/osm_editor.hpp b/indexer/osm_editor.hpp index d7062c737f..bcb0b02c7c 100644 --- a/indexer/osm_editor.hpp +++ b/indexer/osm_editor.hpp @@ -36,8 +36,8 @@ public: static Editor & Instance(); - void SetMwmIdByNameAndVersionFn(TMwmIdByMapNameFn && fn) { m_mwmIdByMapNameFn = move(fn); } - void SetInvalidateFn(TInvalidateFn && fn) { m_invalidateFn = move(fn); } + void SetMwmIdByNameAndVersionFn(TMwmIdByMapNameFn const & fn) { m_mwmIdByMapNameFn = fn; } + void SetInvalidateFn(TInvalidateFn const & fn) { m_invalidateFn = fn; } void LoadMapEdits();