mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 15:29:55 +00:00
Make ResourceManager destructor virtual
This commit is contained in:
parent
dd2fbfc0a2
commit
2eaf96e3bf
2 changed files with 5 additions and 0 deletions
|
@ -13,6 +13,10 @@ namespace Resource
|
|||
|
||||
}
|
||||
|
||||
ResourceManager::~ResourceManager()
|
||||
{
|
||||
}
|
||||
|
||||
void ResourceManager::updateCache(double referenceTime)
|
||||
{
|
||||
mCache->updateTimeStampOfObjectsInCacheWithExternalReferences(referenceTime);
|
||||
|
|
|
@ -18,6 +18,7 @@ namespace Resource
|
|||
{
|
||||
public:
|
||||
ResourceManager(const VFS::Manager* vfs);
|
||||
virtual ~ResourceManager();
|
||||
|
||||
/// Clear cache entries that have not been referenced for longer than expiryDelay.
|
||||
virtual void updateCache(double referenceTime);
|
||||
|
|
Loading…
Reference in a new issue