Changeset 85028 in webkit


Ignore:
Timestamp:
Apr 27, 2011 12:15:48 AM (13 years ago)
Author:
abarth@webkit.org
Message:

2011-04-27 Adam Barth <abarth@webkit.org>

Reviewed by Kenneth Russell.

OwnPtr assignment operator should be private
https://bugs.webkit.org/show_bug.cgi?id=59487

Unfortunately we can't remove the copy constructor because of some
detail about gcc. (The issue is documented in a comment already.)

  • wtf/OwnPtr.h:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r85000 r85028  
     12011-04-27  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Kenneth Russell.
     4
     5        OwnPtr assignment operator should be private
     6        https://bugs.webkit.org/show_bug.cgi?id=59487
     7
     8        Unfortunately we can't remove the copy constructor because of some
     9        detail about gcc.  (The issue is documented in a comment already.)
     10
     11        * wtf/OwnPtr.h:
     12
    1132011-04-26  Sheriff Bot  <webkit.review.bot@gmail.com>
    214
  • trunk/Source/JavaScriptCore/wtf/OwnPtr.h

    r76248 r85028  
    8484
    8585    private:
     86        OwnPtr& operator=(const OwnPtr<T>&);
     87
    8688        PtrType m_ptr;
    8789    };
Note: See TracChangeset for help on using the changeset viewer.