1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 18:59:57 +00:00

Make ResourceManager destructor virtual

This commit is contained in:
scrawl 2016-03-02 21:58:11 +01:00
parent dd2fbfc0a2
commit 2eaf96e3bf
2 changed files with 5 additions and 0 deletions

View file

@ -13,6 +13,10 @@ namespace Resource
}
ResourceManager::~ResourceManager()
{
}
void ResourceManager::updateCache(double referenceTime)
{
mCache->updateTimeStampOfObjectsInCacheWithExternalReferences(referenceTime);

View file

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