forked from organicmaps/organicmaps
[search] Warning fix.
This commit is contained in:
parent
ce52dc5149
commit
95d18f17e6
1 changed files with 0 additions and 18 deletions
|
@ -567,24 +567,6 @@ void Query::SearchCoordinates(Results & res) const
|
|||
|
||||
namespace
|
||||
{
|
||||
struct CompFactory2
|
||||
{
|
||||
struct CompT
|
||||
{
|
||||
TCompareFunction2 m_fn;
|
||||
explicit CompT(TCompareFunction2 fn) : m_fn(fn) {}
|
||||
template <class T>
|
||||
bool operator()(T const & r1, T const & r2) const
|
||||
{
|
||||
return m_fn(*r1, *r2);
|
||||
}
|
||||
};
|
||||
|
||||
static size_t const SIZE = 2;
|
||||
|
||||
CompT Get(size_t i) { return CompT(g_arrCompare2[i]); }
|
||||
};
|
||||
|
||||
struct LessFeatureID
|
||||
{
|
||||
using ValueT = impl::PreResult1;
|
||||
|
|
Loading…
Add table
Reference in a new issue