summaryrefslogtreecommitdiffhomepage
path: root/options/bundle.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-12-08 05:34:07 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-12-08 05:34:07 +0100
commit57d8fa7661c97fb9f02279060694a0073e7cc8b5 (patch)
treefef806825c73b9da2b0fad458a0c4488e756ff60 /options/bundle.cpp
parent4acd40cd2997b2702d9ab411a0c85d1a92a6189d (diff)
options: get element with call operator
thread_local is expensive.
Diffstat (limited to 'options/bundle.cpp')
-rw-r--r--options/bundle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/options/bundle.cpp b/options/bundle.cpp
index 96291476..74e08eb9 100644
--- a/options/bundle.cpp
+++ b/options/bundle.cpp
@@ -199,12 +199,12 @@ OPENTRACK_OPTIONS_EXPORT bundler& singleton()
} // end options::detail
-OPENTRACK_OPTIONS_EXPORT std::shared_ptr<bundle_type> make_bundle(const QString& name)
+OPENTRACK_OPTIONS_EXPORT std::shared_ptr<bundle_> make_bundle(const QString& name)
{
if (name.size())
return detail::singleton().make_bundle(name);
else
- return std::make_shared<bundle_type>(QStringLiteral(""));
+ return std::make_shared<bundle_>(QStringLiteral(""));
}
QMutex* options::detail::bundle::get_mtx() const { return mtx; }