summaryrefslogtreecommitdiffhomepage
path: root/options/globals.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'options/globals.hpp')
-rw-r--r--options/globals.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/options/globals.hpp b/options/globals.hpp
index 5b392055..ae7f8e4d 100644
--- a/options/globals.hpp
+++ b/options/globals.hpp
@@ -29,12 +29,12 @@ struct OTR_OPTIONS_EXPORT saver_ final
{
ini_ctx& ctx;
- cc_noinline ~saver_();
- explicit cc_noinline saver_(ini_ctx& ini);
+ never_inline ~saver_();
+ explicit never_inline saver_(ini_ctx& ini);
};
template<typename F>
-cc_noinline
+never_inline
auto with_settings_object_(ini_ctx& ini, F&& fun)
{
saver_ saver { ini };