Ignore:
Timestamp:
Jan 23, 2006, 9:10:45 AM (19 years ago)
Author:
darin
Message:

Reviewed by John Sullivan.

  • kxmlcore/PassRefPtr.h: Fix assignment operator from RefPtr of a different type by calling get() instead of going directly at m_ptr.
  • kxmlcore/RefPtr.h: Ditto.
  • other changes
  • JavaScriptCore.xcodeproj/project.pbxproj: Xcode decided to change this file. It's just a resorted list of keys in a dictionary.
  • kjs/fpconst.cpp: Wrap this file in #if APPLE since the alternate version in internal.cpp is in #if __APPLE. This file is to give us the "no init routine" property we want to have on OS X.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kxmlcore/RefPtr.h

    r12150 r12315  
    7575    template <typename T> RefPtr<T>& RefPtr<T>::operator=(const RefPtr<T>& o)
    7676    {
    77         T* optr = o.m_ptr;
     77        T* optr = o.get();
    7878        if (optr)
    7979            optr->ref();
     
    8787    template <typename T> template <typename U> RefPtr<T>& RefPtr<T>::operator=(const RefPtr<U>& o)
    8888    {
    89         T *optr = o.m_ptr;
     89        T* optr = o.get();
    9090        if (optr)
    9191            optr->ref();
Note: See TracChangeset for help on using the changeset viewer.