From c80397808bc7b7fdb795d281385ab39d0434376d Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Wed, 23 Dec 2015 13:58:07 +0300 Subject: [PATCH] && => const & --- indexer/osm_editor.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();