diff options
| author | Silent <zdanio95@gmail.com> | 2019-06-23 19:26:07 +0200 |
|---|---|---|
| committer | Silent <zdanio95@gmail.com> | 2019-06-23 21:43:47 +0200 |
| commit | 6c218110909003efdb1897a6b398cba37f16a58a (patch) | |
| tree | 66f44a826541ad9230e5849cd148feb9e0f8199d /Source/Core/DolphinNoGUI/MainNoGUI.cpp | |
| parent | 5262f390266ab658181ee4d40dd6ed040980c91b (diff) | |
Make DolphinAnalytics a true singleton - static local variables are initialized in a thread safe manner since C++11
Also works around a Visual Studio 2017 bug where static inline class fields are destructed multiple times
Diffstat (limited to 'Source/Core/DolphinNoGUI/MainNoGUI.cpp')
| -rw-r--r-- | Source/Core/DolphinNoGUI/MainNoGUI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinNoGUI/MainNoGUI.cpp b/Source/Core/DolphinNoGUI/MainNoGUI.cpp index 1b35ac8809..711583f736 100644 --- a/Source/Core/DolphinNoGUI/MainNoGUI.cpp +++ b/Source/Core/DolphinNoGUI/MainNoGUI.cpp @@ -202,7 +202,7 @@ int main(int argc, char* argv[]) sigaction(SIGINT, &sa, nullptr); sigaction(SIGTERM, &sa, nullptr); - DolphinAnalytics::Instance()->ReportDolphinStart("nogui"); + DolphinAnalytics::Instance().ReportDolphinStart("nogui"); if (!BootManager::BootCore(std::move(boot), s_platform->GetWindowSystemInfo())) { |
