summaryrefslogtreecommitdiffhomepage
path: root/compat/util.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/util.hpp')
-rw-r--r--compat/util.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/util.hpp b/compat/util.hpp
index 88bff96c..5ae87632 100644
--- a/compat/util.hpp
+++ b/compat/util.hpp
@@ -118,7 +118,7 @@ template<typename t> using qshared = QSharedPointer<t>;
#if defined _MSC_VER
# define force_inline __forceinline
#elif defined __GNUG__
-# define force_inline __attribute__((always_inline, gnu_inline))
+# define force_inline __attribute__((always_inline, gnu_inline)) inline
#else
# define force_inline inline
#endif