From 804f78e0e4733b883f4fef8337473c75e23eb378 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Thu, 6 Jan 2022 12:20:09 +0100 Subject: [PATCH] Android: Mark s_android_send_report as static Fixes a compiler warning. --- Source/Core/Common/AndroidAnalytics.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Source/Core/Common/AndroidAnalytics.cpp b/Source/Core/Common/AndroidAnalytics.cpp index a25acb17f4..ebcc1791ba 100644 --- a/Source/Core/Common/AndroidAnalytics.cpp +++ b/Source/Core/Common/AndroidAnalytics.cpp @@ -8,15 +8,18 @@ namespace Common { -std::function s_android_send_report; +static std::function s_android_send_report; + void AndroidSetReportHandler(std::function func) { s_android_send_report = std::move(func); } + AndroidAnalyticsBackend::AndroidAnalyticsBackend(std::string passed_endpoint) : m_endpoint{std::move(passed_endpoint)} { } + AndroidAnalyticsBackend::~AndroidAnalyticsBackend() = default; void AndroidAnalyticsBackend::Send(std::string report)