From 44b6dea74048a7a860795d299b89c84588e8b7b4 Mon Sep 17 00:00:00 2001 From: Marcus Tillmanns Date: Fri, 1 Mar 2024 14:42:29 +0100 Subject: [PATCH] CompilerExplorer: Use volatile Currently the user can't change the Url. This is for the future. Change-Id: I7854c1dc0e680c9aa4bbb41d44dbcb9540a3b34b Reviewed-by: Cristian Adam --- src/plugins/compilerexplorer/compilerexplorersettings.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/compilerexplorer/compilerexplorersettings.h b/src/plugins/compilerexplorer/compilerexplorersettings.h index 4b3ac849a2c..cd8c9533638 100644 --- a/src/plugins/compilerexplorer/compilerexplorersettings.h +++ b/src/plugins/compilerexplorer/compilerexplorersettings.h @@ -39,7 +39,8 @@ public: Api::Config apiConfig() const { - return Api::Config(Utils::NetworkAccessManager::instance(), compilerExplorerUrl()); + return Api::Config(Utils::NetworkAccessManager::instance(), + compilerExplorerUrl.volatileValue()); } };