mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
refs #781, use admit in database reader
* added amit functions in readers * cacheHasChanged functions (needed because data of caches are loaded in background) * pinned small caches * CDatabaseReader::readInBackgroundThread uses admitCaches now
This commit is contained in:
@@ -56,6 +56,12 @@ namespace BlackCore
|
||||
Q_UNUSED(entities);
|
||||
}
|
||||
|
||||
void CInfoDataReader::admitCaches(CEntityFlags::Entity entities)
|
||||
{
|
||||
// no caching used here
|
||||
Q_UNUSED(entities);
|
||||
}
|
||||
|
||||
void CInfoDataReader::invalidateCaches(CEntityFlags::Entity entities)
|
||||
{
|
||||
// no caching used here
|
||||
|
||||
Reference in New Issue
Block a user