aboutsummaryrefslogtreecommitdiff
path: root/launcher/net
diff options
context:
space:
mode:
authorTheLastRar <TheLastRar@users.noreply.github.com>2022-11-01 14:04:14 +0000
committerTheLastRar <TheLastRar@users.noreply.github.com>2022-11-04 18:11:39 +0000
commite29259cd5511f25a4559ff1f8a4e9473ad81ee4e (patch)
treef89438ba679e97f8c94b846761ce0f8406014161 /launcher/net
parent79a728d7d2a379799a2813b83a418ece1ff1aa3c (diff)
downloadPrismLauncher-e29259cd5511f25a4559ff1f8a4e9473ad81ee4e.tar.gz
PrismLauncher-e29259cd5511f25a4559ff1f8a4e9473ad81ee4e.tar.bz2
PrismLauncher-e29259cd5511f25a4559ff1f8a4e9473ad81ee4e.zip
Fix: Resolve ambiguous overload errors
Clang-cl fails to select the correct function and instead errors Signed-off-by: TheLastRar <TheLastRar@users.noreply.github.com>
Diffstat (limited to 'launcher/net')
-rw-r--r--launcher/net/HttpMetaCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/net/HttpMetaCache.cpp b/launcher/net/HttpMetaCache.cpp
index 42198b71..e242dcf4 100644
--- a/launcher/net/HttpMetaCache.cpp
+++ b/launcher/net/HttpMetaCache.cpp
@@ -242,7 +242,7 @@ void HttpMetaCache::Load()
foo->local_changed_timestamp = Json::ensureDouble(element_obj, "last_changed_timestamp");
foo->remote_changed_timestamp = Json::ensureString(element_obj, "remote_changed_timestamp");
- foo->makeEternal(Json::ensureBoolean(element_obj, "eternal", false));
+ foo->makeEternal(Json::ensureBoolean(element_obj, (const QString)QStringLiteral("eternal"), false));
if (!foo->isEternal()) {
foo->current_age = Json::ensureDouble(element_obj, "current_age");
foo->max_age = Json::ensureDouble(element_obj, "max_age");