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