ion/base/sharedptr.h
// Changes the pointer to point to the given shared, which may be NULL.
Changes the pointer to point to the given shared, which may be NULL.
Changes the pointer to point to the given shared which may be NULL .
void Reset(T* new_shared) {
    if (new_shared != ptr_) {
      RemoveReference();
      ptr_ = new_shared;
      shr_ = new_shared;
      AddReference();
    }
  }
void Reset ( T * new_shared ) { if ( new_shared != ptr_ ) { RemoveReference ( ) ; ptr_ = new_shared ; shr_ = new_shared ; AddReference ( ) ; } }
Changes the pointer to point to the given shared, which may be NULL.
Changes the pointer to point to the given shared which may be NULL .