diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-12-08 05:34:07 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-12-08 05:34:07 +0100 |
commit | 57d8fa7661c97fb9f02279060694a0073e7cc8b5 (patch) | |
tree | fef806825c73b9da2b0fad458a0c4488e756ff60 /options/bundle.hpp | |
parent | 4acd40cd2997b2702d9ab411a0c85d1a92a6189d (diff) |
options: get element with call operator
thread_local is expensive.
Diffstat (limited to 'options/bundle.hpp')
-rw-r--r-- | options/bundle.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/options/bundle.hpp b/options/bundle.hpp index 2d7fa7f4..5bbe6f60 100644 --- a/options/bundle.hpp +++ b/options/bundle.hpp @@ -103,9 +103,9 @@ public: OPENTRACK_OPTIONS_EXPORT bundler& singleton(); } -using bundle_type = detail::bundle; -using bundle = std::shared_ptr<bundle_type>; +using bundle_ = detail::bundle; +using bundle = std::shared_ptr<bundle_>; -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); } |