qt4: Make sure that damned function is really inlined
[openwrt/svn-archive/archive.git] / Xorg / lib / qt4 / patches / 300-compile-fixes.patch
index fc37917bad79d7d4064023c43b999878520f3688..4282709ac73ea5f55f79aa9300318cb383ba3f8a 100644 (file)
@@ -8,7 +8,7 @@
  };
  
  template <typename T>
-+static inline
++static inline __attribute__((__always_inline__))
  void qRegisterAnimationInterpolator(QVariant (*func)(const T &from, const T &to, qreal progress)) {
      QVariantAnimation::registerInterpolator(reinterpret_cast<QVariantAnimation::Interpolator>(func), qMetaTypeId<T>());
  }