Add ClearCaches() to index.

This commit is contained in:
Yury Melnichek 2011-02-12 22:34:38 +01:00 committed by Alex Zolotarev
parent 9ad3df3f6b
commit a6197cba35

View file

@ -126,6 +126,11 @@ public:
m_Indexes.clear();
}
void ClearCaches()
{
for_each(m_Indexes.begin(), m_Indexes.end(), bind(&IndexProxy::Close, _1));
}
private:
class IndexProxy