forked from organicmaps/organicmaps
[search] Bug fix with uninitialized var.
This commit is contained in:
parent
dc6e9e5b04
commit
0f6a2d7aea
1 changed files with 3 additions and 1 deletions
|
@ -68,7 +68,9 @@ public:
|
|||
Engine::Engine(IndexType const * pIndex, Reader * pCategoriesR,
|
||||
ModelReaderPtr polyR, ModelReaderPtr countryR,
|
||||
string const & lang)
|
||||
: m_pIndex(pIndex), m_pData(new EngineData(pCategoriesR, polyR, countryR))
|
||||
: m_readyThread(false),
|
||||
m_pIndex(pIndex),
|
||||
m_pData(new EngineData(pCategoriesR, polyR, countryR))
|
||||
{
|
||||
InitSuggestions doInit;
|
||||
m_pData->m_categories.ForEachName(bind<void>(ref(doInit), _1));
|
||||
|
|
Loading…
Add table
Reference in a new issue