qt4: Make sure that damned function is really inlined
authorMichael Büsch <mb@bu3sch.de>
Fri, 20 Aug 2010 17:34:32 +0000 (17:34 +0000)
committerMichael Büsch <mb@bu3sch.de>
Fri, 20 Aug 2010 17:34:32 +0000 (17:34 +0000)
SVN-Revision: 22742

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>());
  }