diff --git a/Source/Core/Core/DolphinAnalytics.cpp b/Source/Core/Core/DolphinAnalytics.cpp index 9dd8508e16..8cd45520c1 100644 --- a/Source/Core/Core/DolphinAnalytics.cpp +++ b/Source/Core/Core/DolphinAnalytics.cpp @@ -42,7 +42,6 @@ namespace { -constexpr char ANALYTICS_ENDPOINT[] = "https://analytics.dolphin-emu.org/report"; } // namespace #if defined(ANDROID) @@ -73,10 +72,11 @@ void DolphinAnalytics::ReloadConfig() std::unique_ptr new_backend; if (Config::Get(Config::MAIN_ANALYTICS_ENABLED)) { + constexpr char analytics_endpoint[] = "https://analytics.dolphin-emu.org/report"; #if defined(ANDROID) - new_backend = std::make_unique(ANALYTICS_ENDPOINT); + new_backend = std::make_unique(analytics_endpoint); #else - new_backend = std::make_unique(ANALYTICS_ENDPOINT); + new_backend = std::make_unique(analytics_endpoint); #endif } m_reporter.SetBackend(std::move(new_backend));