Merge pull request #10352 from JosJuice/android-analytics-static
Android: Mark s_android_send_report as static
This commit is contained in:
commit
5d11dc1926
|
@ -8,15 +8,18 @@
|
|||
|
||||
namespace Common
|
||||
{
|
||||
std::function<void(std::string, std::string)> s_android_send_report;
|
||||
static std::function<void(std::string, std::string)> s_android_send_report;
|
||||
|
||||
void AndroidSetReportHandler(std::function<void(std::string, std::string)> 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)
|
||||
|
|
Loading…
Reference in New Issue