summaryrefslogtreecommitdiffhomepage
path: root/opentrack-compat/options.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-06-29 10:35:01 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-06-29 13:18:29 +0200
commitee7dbf946a77450e8bf49ea4b64e9b922a951c1f (patch)
treeb8e2a270885ba1b69191e097087d2d01b3e4dd26 /opentrack-compat/options.cpp
parent87622615e5adc5b96f404b3255aa6af5a90043ee (diff)
compat/options: make inline to fix lto
Diffstat (limited to 'opentrack-compat/options.cpp')
-rw-r--r--opentrack-compat/options.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/opentrack-compat/options.cpp b/opentrack-compat/options.cpp
index 05ae692a..4106f783 100644
--- a/opentrack-compat/options.cpp
+++ b/opentrack-compat/options.cpp
@@ -175,11 +175,6 @@ opts::opts(const QString &name) : b(bundle(name))
{
}
-pbundle bundle(const QString& name)
-{
- return detail::singleton().bundle(name);
-}
-
custom_type_initializer::custom_type_initializer()
{
qDebug() << "options: registering stream operators";
@@ -188,7 +183,7 @@ custom_type_initializer::custom_type_initializer()
QMetaType::registerDebugStreamOperator<slider_value>();
}
-custom_type_initializer custom_type_initializer::singleton = custom_type_initializer();
+custom_type_initializer custom_type_initializer::singleton;
namespace detail {