Compiler compatibility fixes.

This commit is contained in:
Casey Langen 2020-10-22 00:28:33 -07:00
parent ed4f2440a6
commit ed4869298c

View File

@ -76,7 +76,7 @@ static IEnvironment* environment;
static LruDiskCache diskCache;
static std::string cachePath;
static IPreferences* prefs;
static std::atomic<int64_t> nextInstanceId = duration_cast<milliseconds>(system_clock::now().time_since_epoch()).count();
static std::atomic<int64_t> nextInstanceId(duration_cast<milliseconds>(system_clock::now().time_since_epoch()).count());
static const int kDefaultMaxCacheFiles = 35;
static const int kDefaultPreCacheSizeBytes = 524288; /*2^19 */