From 519b4a3ae10c96951db917f2439982c7d2391874 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 22 Jun 2018 13:21:52 +0200 Subject: compat/macros: rename portability macros use `cc_xx' rather than awkward synonyms. --- options/group.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'options/group.hpp') 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 cur_settings_object(); static std::shared_ptr cur_global_settings_object(); @@ -60,7 +60,7 @@ public: static void mark_ini_modified(); template - never_inline + cc_noinline t get(const QString& k) const { auto value = kvs.find(k); @@ -70,7 +70,7 @@ public: } template - never_inline + cc_noinline static auto with_settings_object(F&& fun) { QMutexLocker l(&cur_ini_mtx); -- cgit v1.2.3