Changeset 57262 in webkit for trunk/JavaScriptCore/wtf/PassRefPtr.h
- Timestamp:
- Apr 8, 2010, 1:16:28 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/PassRefPtr.h
r57240 r57262 34 34 // T::ref() and T::deref(), which will fail compiling when PassRefPtr<T> is used as 35 35 // a class member or function arguments before T is defined. 36 37 // [Qt]r57240 broke Qt build (might be a gcc bug) 38 // FIXME! See: https://bugs.webkit.org/show_bug.cgi?id=37253 36 39 template<typename T> 37 40 #if !COMPILER(WINSCW) 41 #if !PLATFORM(QT) 38 42 ALWAYS_INLINE 43 #else 44 inline 45 #endif 39 46 #endif 40 47 void refIfNotNull(T* ptr) … … 44 51 } 45 52 53 // [Qt]r57240 broke Qt build (might be a gcc bug) 54 // FIXME! See: https://bugs.webkit.org/show_bug.cgi?id=37253 46 55 template<typename T> 47 56 #if !COMPILER(WINSCW) 48 ALWAYS_INLINE 57 #if !PLATFORM(QT) 58 ALWAYS_INLINE 59 #else 60 inline 61 #endif 49 62 #endif 50 63 void derefIfNotNull(T* ptr)
Note:
See TracChangeset
for help on using the changeset viewer.