From 39ea3871c1b3f594df846bc0b9a627c9880ecea4 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 5 Oct 2018 15:46:01 +0200 Subject: use attributes only at declaration, not definition --- compat/check-visible.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'compat/check-visible.cpp') diff --git a/compat/check-visible.cpp b/compat/check-visible.cpp index 0e154dd0..96dba60f 100644 --- a/compat/check-visible.cpp +++ b/compat/check-visible.cpp @@ -15,7 +15,6 @@ static Timer timer; static QMutex mtx; static bool visible = true; -cc_noinline OTR_COMPAT_EXPORT void set_is_visible(const QWidget& w, bool force) { QMutexLocker l(&mtx); @@ -47,7 +46,6 @@ void set_is_visible(const QWidget& w, bool force) } } -cc_noinline OTR_COMPAT_EXPORT bool check_is_visible() { QMutexLocker l(&mtx); @@ -57,12 +55,10 @@ bool check_is_visible() #else -cc_noinline OTR_COMPAT_EXPORT void set_is_visible(const QWidget&, bool) { } -cc_noinline OTR_COMPAT_EXPORT bool check_is_visible() { return true; -- cgit v1.2.3