mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 06:51:17 +01:00
Android: Mark s_android_send_report as static
Fixes a compiler warning.
This commit is contained in:
parent
7bd14c5d9f
commit
804f78e0e4
@ -8,15 +8,18 @@
|
|||||||
|
|
||||||
namespace Common
|
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)
|
void AndroidSetReportHandler(std::function<void(std::string, std::string)> func)
|
||||||
{
|
{
|
||||||
s_android_send_report = std::move(func);
|
s_android_send_report = std::move(func);
|
||||||
}
|
}
|
||||||
|
|
||||||
AndroidAnalyticsBackend::AndroidAnalyticsBackend(std::string passed_endpoint)
|
AndroidAnalyticsBackend::AndroidAnalyticsBackend(std::string passed_endpoint)
|
||||||
: m_endpoint{std::move(passed_endpoint)}
|
: m_endpoint{std::move(passed_endpoint)}
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
AndroidAnalyticsBackend::~AndroidAnalyticsBackend() = default;
|
AndroidAnalyticsBackend::~AndroidAnalyticsBackend() = default;
|
||||||
|
|
||||||
void AndroidAnalyticsBackend::Send(std::string report)
|
void AndroidAnalyticsBackend::Send(std::string report)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user