From ed4869298c5a78b9c0897a92a11c152e4ac85694 Mon Sep 17 00:00:00 2001 From: Casey Langen Date: Thu, 22 Oct 2020 00:28:33 -0700 Subject: [PATCH] Compiler compatibility fixes. --- src/plugins/httpdatastream/HttpDataStream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/httpdatastream/HttpDataStream.cpp b/src/plugins/httpdatastream/HttpDataStream.cpp index b08978c25..6d28acc40 100755 --- a/src/plugins/httpdatastream/HttpDataStream.cpp +++ b/src/plugins/httpdatastream/HttpDataStream.cpp @@ -76,7 +76,7 @@ static IEnvironment* environment; static LruDiskCache diskCache; static std::string cachePath; static IPreferences* prefs; -static std::atomic nextInstanceId = duration_cast(system_clock::now().time_since_epoch()).count(); +static std::atomic nextInstanceId(duration_cast(system_clock::now().time_since_epoch()).count()); static const int kDefaultMaxCacheFiles = 35; static const int kDefaultPreCacheSizeBytes = 524288; /*2^19 */