forked from organicmaps/organicmaps
[search] Search index generating bug: calculating of area feature center.
This commit is contained in:
parent
9b32f4c6b0
commit
acfeef5659
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class FeatureInserter
|
|||
size_t m_count;
|
||||
|
||||
public:
|
||||
CalcMassCenter() : m_count(0) {}
|
||||
CalcMassCenter() : m_center(0.0, 0.0), m_count(0) {}
|
||||
|
||||
void operator() (P const & p1, P const & p2, P const & p3)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue