[indexer] Fix for review

This commit is contained in:
Anatoly Serdtcev 2019-01-15 20:10:21 +03:00 committed by Sergey Yershov
parent 89665ff81a
commit 758d1ab6c1

View file

@ -171,13 +171,13 @@ private:
}
template <typename F, typename = decltype(std::declval<F>()(uint64_t{0}, uint64_t{0}))>
static void Invoke(F const & f, uint64_t key, uint64_t storedId, int /* best candidate (overload) */)
static void Invoke(F const & f, uint64_t key, Value storedId, int /* best candidate (overload) */)
{
f(key, storedId);
}
template <typename F>
static void Invoke(F const & f, uint64_t key, uint64_t storedId, ... /* default candidate (overload )*/)
static void Invoke(F const & f, uint64_t key, Value storedId, ... /* default candidate (overload )*/)
{
f(storedId);
}