diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-06-22 13:21:52 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-06-26 23:01:53 +0200 |
commit | 519b4a3ae10c96951db917f2439982c7d2391874 (patch) | |
tree | ec55d8a12fa740803e6da2074eec04f465e98ede /options/group.hpp | |
parent | 0f182b791622ad4491c8aabf8edce21a63839bdc (diff) |
compat/macros: rename portability macros
use `cc_xx' rather than awkward synonyms.
Diffstat (limited to 'options/group.hpp')
-rw-r--r-- | options/group.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/options/group.hpp b/options/group.hpp index c933b134..c3fce892 100644 --- a/options/group.hpp +++ b/options/group.hpp @@ -38,8 +38,8 @@ class OTR_OPTIONS_EXPORT group final int& refcount; bool& modifiedp; - never_inline ~saver_(); - never_inline saver_(QSettings& s, int& refcount, bool& modifiedp); + cc_noinline ~saver_(); + cc_noinline saver_(QSettings& s, int& refcount, bool& modifiedp); }; static std::shared_ptr<QSettings> cur_settings_object(); static std::shared_ptr<QSettings> cur_global_settings_object(); @@ -60,7 +60,7 @@ public: static void mark_ini_modified(); template<typename t> - never_inline + cc_noinline t get(const QString& k) const { auto value = kvs.find(k); @@ -70,7 +70,7 @@ public: } template<typename F> - never_inline + cc_noinline static auto with_settings_object(F&& fun) { QMutexLocker l(&cur_ini_mtx); |