mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
Allow to admit caches used in model set loader
This commit is contained in:
committed by
Mathew Sutcliffe
parent
2a083f9113
commit
928dd9f34a
@@ -101,6 +101,11 @@ namespace BlackMisc
|
||||
return this->m_caches.synchronizeCurrentCache();
|
||||
}
|
||||
|
||||
bool CAircraftModelSetLoader::admitCache()
|
||||
{
|
||||
return this->m_caches.admitCurrentCache();
|
||||
}
|
||||
|
||||
bool CAircraftModelSetLoader::hasCachedData() const
|
||||
{
|
||||
return !this->m_caches.getCurrentCachedModels().isEmpty();
|
||||
|
||||
Reference in New Issue
Block a user