Build fix.
authoraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 6 Jan 2008 02:12:37 +0000 (02:12 +0000)
committeraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 6 Jan 2008 02:12:37 +0000 (02:12 +0000)
        Reviewed by Maciej.

        * wtf/RetainPtr.h: Use PtrType instead of T* because of the
        RemovePointer magic.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29199 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/wtf/RetainPtr.h

index 5b3207a..1d24256 100644 (file)
@@ -1,3 +1,12 @@
+2008-01-05  Adam Roben  <aroben@apple.com>
+
+        Build fix.
+
+        Reviewed by Maciej.
+
+        * wtf/RetainPtr.h: Use PtrType instead of T* because of the
+        RemovePointer magic.
+
 2008-01-05  Darin Adler  <darin@apple.com>
 
         Rubber stamped by Maciej Stachowiak.
index f8894fb..71260eb 100644 (file)
@@ -82,7 +82,7 @@ namespace WTF {
         bool operator!() const { return !m_ptr; }
     
         // This conversion operator allows implicit conversion to bool but not to other integer types.
-        typedef T* RetainPtr::*UnspecifiedBoolType;
+        typedef PtrType RetainPtr::*UnspecifiedBoolType;
         operator UnspecifiedBoolType() const { return m_ptr ? &RetainPtr::m_ptr : 0; }
         
         RetainPtr& operator=(const RetainPtr&);