cache: added convenience function to determine if any ranges are invalid
This commit is contained in:
@@ -49,6 +49,11 @@ public:
|
|||||||
return invalidated_;
|
return invalidated_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool HasInvalidatedRanges() const
|
||||||
|
{
|
||||||
|
return !invalidated_.isEmpty();
|
||||||
|
}
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void Invalidated(const OLIVE_NAMESPACE::TimeRange& r);
|
void Invalidated(const OLIVE_NAMESPACE::TimeRange& r);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user