Changeset 11768 in webkit for trunk/JavaScriptCore/kxmlcore/HashTable.h
- Timestamp:
- Dec 26, 2005, 2:08:52 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kxmlcore/HashTable.h
r11762 r11768 175 175 using std::swap; 176 176 177 // swap pairs by component, in case of pair members that specialize swap 177 #ifndef WIN32 178 // Visual C++ has a swap for pairs defined. 179 // swap pairs by component, in case of pair members that specialize swap 178 180 template<typename T, typename U> 179 181 inline void swap(pair<T, U>& a, pair<T, U>& b) … … 182 184 swap(a.second, b.second); 183 185 } 186 #endif 184 187 185 188 template<typename T, bool useSwap>
Note:
See TracChangeset
for help on using the changeset viewer.