summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--opentrack-compat/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/opentrack-compat/options.cpp b/opentrack-compat/options.cpp
index 91cd3664..48cc514b 100644
--- a/opentrack-compat/options.cpp
+++ b/opentrack-compat/options.cpp
@@ -7,8 +7,8 @@ namespace detail
{
OPENTRACK_COMPAT_EXPORT opt_singleton& singleton()
{
- static auto ret = std::make_shared<opt_singleton>();
- return *ret;
+ static opt_singleton ret;
+ return ret;
}
}