Fixed cache creation
Seems to sometimes be needed on MSVS at least
This commit is contained in:
parent
b28bf2d1ff
commit
bdb2ae3446
@ -171,6 +171,9 @@ public:
|
||||
}
|
||||
|
||||
void loadingFinished() override{
|
||||
this->cache.clear();
|
||||
this->cache.resize( this->size(), nullptr );
|
||||
|
||||
// Cache all known values
|
||||
for (auto &pair : *this) {
|
||||
// Calculate the key that should be used
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user