[webkit-changes] cvs commit: JavaScriptCore/kxmlcore RefPtr.h
Maciej
mjs at opensource.apple.com
Thu Dec 22 23:35:01 PST 2005
mjs 05/12/22 23:35:00
Modified: . ChangeLog
kxmlcore RefPtr.h
Log:
- fix build problem from last commit.
* kxmlcore/RefPtr.h:
(KXMLCore::::swap):
Revision Changes Path
1.924 +7 -0 JavaScriptCore/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/JavaScriptCore/ChangeLog,v
retrieving revision 1.923
retrieving revision 1.924
diff -u -r1.923 -r1.924
--- ChangeLog 23 Dec 2005 01:52:40 -0000 1.923
+++ ChangeLog 23 Dec 2005 07:34:59 -0000 1.924
@@ -1,3 +1,10 @@
+2005-12-22 Maciej Stachowiak <mjs at apple.com>
+
+ - fix build problem from last commit.
+
+ * kxmlcore/RefPtr.h:
+ (KXMLCore::::swap):
+
2005-12-21 Maciej Stachowiak <mjs at apple.com>
Reviewed by Darin.
1.10 +3 -1 JavaScriptCore/kxmlcore/RefPtr.h
Index: RefPtr.h
===================================================================
RCS file: /cvs/root/JavaScriptCore/kxmlcore/RefPtr.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- RefPtr.h 23 Dec 2005 01:52:43 -0000 1.9
+++ RefPtr.h 23 Dec 2005 07:35:00 -0000 1.10
@@ -23,6 +23,8 @@
#ifndef KXMLCORE_REF_PTR_H
#define KXMLCORE_REF_PTR_H
+#include <algorithm>
+
namespace KXMLCore {
template <typename T> class PassRefPtr;
@@ -142,7 +144,7 @@
template <class T> inline void RefPtr<T>::swap(RefPtr<T>& o)
{
- stap(m_ptr, o.m_ptr);
+ swap(m_ptr, o.m_ptr);
}
template <class T> inline void swap(RefPtr<T>& a, RefPtr<T>& b)
More information about the webkit-changes
mailing list