Ignore:
Timestamp:
Jan 5, 2008, 6:16:32 PM (17 years ago)
Author:
Darin Adler
Message:
  • API/JSRetainPtr.h: One more file that needed the change below.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/JSRetainPtr.h

    r25413 r29201  
    6060
    6161    // This conversion operator allows implicit conversion to bool but not to other integer types.
    62     typedef T (JSRetainPtr::*UnspecifiedBoolType)() const;
    63     operator UnspecifiedBoolType() const { return m_ptr ? &JSRetainPtr::get : 0; }
     62    typedef T JSRetainPtr::*UnspecifiedBoolType;
     63    operator UnspecifiedBoolType() const { return m_ptr ? &JSRetainPtr::m_ptr : 0; }
    6464   
    6565    JSRetainPtr& operator=(const JSRetainPtr&);
Note: See TracChangeset for help on using the changeset viewer.