[search] Bug fix with uninitialized var.

This commit is contained in:
vng 2012-03-04 19:58:53 +03:00 committed by Alex Zolotarev
parent dc6e9e5b04
commit 0f6a2d7aea

View file

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