source: packages/Xorg/lib/qt4/patches/300-compile-fixes.patch @ 22742

Last change on this file since 22742 was 22742, checked in by mb, 6 years ago

qt4: Make sure that damned function is really inlined

File size: 601 bytes
  • src/corelib/animation/qvariantanimation.h

    ---
     src/corelib/animation/qvariantanimation.h |    1 +
     1 file changed, 1 insertion(+)
    
    old new private: 
    117117}; 
    118118 
    119119template <typename T> 
     120static inline __attribute__((__always_inline__)) 
    120121void qRegisterAnimationInterpolator(QVariant (*func)(const T &from, const T &to, qreal progress)) { 
    121122    QVariantAnimation::registerInterpolator(reinterpret_cast<QVariantAnimation::Interpolator>(func), qMetaTypeId<T>()); 
    122123} 
Note: See TracBrowser for help on using the repository browser.