Make ResourceManager destructor virtual

move
scrawl 9 years ago
parent dd2fbfc0a2
commit 2eaf96e3bf

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

@ -18,6 +18,7 @@ namespace Resource
{ {
public: public:
ResourceManager(const VFS::Manager* vfs); ResourceManager(const VFS::Manager* vfs);
virtual ~ResourceManager();
/// Clear cache entries that have not been referenced for longer than expiryDelay. /// Clear cache entries that have not been referenced for longer than expiryDelay.
virtual void updateCache(double referenceTime); virtual void updateCache(double referenceTime);

Loading…
Cancel
Save