Core/Analytics: Use inline on static member variables
Starting with C++17, this allows for the same behavior as the existing code, but without the need to manually write the out-of-class definitions as well.
This commit is contained in:
1 parent
ebf3de4d93
commit
ea9f887170
2 files changed
+2
-5
No files matched your search
@@ -39,9 +39,6 @@ namespace
|
||||
constexpr const char* ANALYTICS_ENDPOINT = "https://analytics.dolphin-emu.org/report";
|
||||
} // namespace
|
||||
|
||||
std::mutex DolphinAnalytics::s_instance_mutex;
|
||||
std::shared_ptr<DolphinAnalytics> DolphinAnalytics::s_instance;
|
||||
|
||||
#if defined(ANDROID)
|
||||
static std::function<std::string(std::string)> s_get_val_func;
|
||||
void DolphinAnalytics::AndroidSetGetValFunc(std::function<std::string(std::string)> func)
|
||||
|
||||
Reference in new issue
Block a user