&& => const &

This commit is contained in:
Alex Zolotarev 2015-12-23 13:58:07 +03:00 committed by Sergey Yershov
parent 35e1b9c099
commit c80397808b

View file

@ -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();