only using cache-first logic if caching features

This commit is contained in:
Dane Springmeyer 2010-07-21 00:43:13 +00:00
parent 1ecdba1965
commit 8b66c34eca

View file

@ -273,6 +273,8 @@ private:
// process features
featureset_ptr fs;
if (cache_features)
{
if (first)
{
first = false;
@ -282,6 +284,11 @@ private:
{
fs = cache.features(q);
}
}
else
{
fs = ds->features(q);
}
if (fs)
{