mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +02:00
Turns out windows doesn't like constexpr
This commit is contained in:
parent
891d8d5abf
commit
441a1e4fee
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ QSharedPointer<Resource> ResourceCache::getResource(const QUrl& url, const QUrl&
|
|||
}
|
||||
|
||||
void ResourceCache::addUnusedResource(const QSharedPointer<Resource>& resource) {
|
||||
static constexpr int BYTES_PER_MEGABYTES = 1024 * 1024;
|
||||
static const int BYTES_PER_MEGABYTES = 1024 * 1024;
|
||||
const int RETAINED_RESOURCE_COUNT = 50;
|
||||
const int RETAINED_RESOURCE_SIZE = 100 * BYTES_PER_MEGABYTES;
|
||||
|
||||
|
|
Loading…
Reference in a new issue