Changeset 11739 in webkit for trunk/JavaScriptCore/kxmlcore/RefPtr.h
- Timestamp:
- Dec 22, 2005, 5:52:43 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kxmlcore/RefPtr.h
r11727 r11739 60 60 template <typename U> RefPtr& operator=(PassRefPtr<U>&); 61 61 template <typename U> RefPtr& operator=(PassRefPtr_Ref<U>); 62 63 void swap(RefPtr&); 62 64 63 65 private: … … 139 141 } 140 142 143 template <class T> inline void RefPtr<T>::swap(RefPtr<T>& o) 144 { 145 stap(m_ptr, o.m_ptr); 146 } 147 148 template <class T> inline void swap(RefPtr<T>& a, RefPtr<T>& b) 149 { 150 a.swap(b); 151 } 152 141 153 template <typename T, typename U> inline bool operator==(const RefPtr<T>& a, const RefPtr<U>& b) 142 154 {
Note:
See TracChangeset
for help on using the changeset viewer.