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)