1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 19:15:41 +00:00

Make GenericResourceManager::setExpiryDelay final

This commit is contained in:
elsid 2023-08-27 17:11:42 +02:00
parent 4a46d772a1
commit 3202900fd3
No known key found for this signature in database
GPG key ID: 4DE04C198CBA7625

View file

@ -59,7 +59,7 @@ namespace Resource
void clearCache() override { mCache->clear(); } void clearCache() override { mCache->clear(); }
/// How long to keep objects in cache after no longer being referenced. /// How long to keep objects in cache after no longer being referenced.
void setExpiryDelay(double expiryDelay) override { mExpiryDelay = expiryDelay; } void setExpiryDelay(double expiryDelay) final { mExpiryDelay = expiryDelay; }
double getExpiryDelay() const { return mExpiryDelay; } double getExpiryDelay() const { return mExpiryDelay; }
const VFS::Manager* getVFS() const { return mVFS; } const VFS::Manager* getVFS() const { return mVFS; }