Changeset 29200 in webkit for trunk/JavaScriptCore/wtf/OwnPtr.h


Ignore:
Timestamp:
Jan 5, 2008, 6:14:29 PM (17 years ago)
Author:
Darin Adler
Message:
  • wtf/OwnPtr.h: OwnPtr needs the same fix as RefPtr below.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/OwnPtr.h

    r29198 r29200  
    8282
    8383        // This conversion operator allows implicit conversion to bool but not to other integer types.
    84         typedef T* OwnPtr::*UnspecifiedBoolType;
     84        typedef PtrType OwnPtr::*UnspecifiedBoolType;
    8585        operator UnspecifiedBoolType() const { return m_ptr ? &OwnPtr::m_ptr : 0; }
    8686
Note: See TracChangeset for help on using the changeset viewer.