mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
prevent "nsTArray< nsAutoPtr<T> >", which could easily lead to problems. bug 316782 r+sr=jag
This commit is contained in:
parent
38154c250e
commit
ba9e9cba22
@ -71,6 +71,10 @@ class nsAutoPtr
|
||||
delete oldPtr;
|
||||
}
|
||||
|
||||
// NOT IMPLEMENTED
|
||||
nsAutoPtr( const nsAutoPtr<T>& aSmartPtr );
|
||||
nsAutoPtr<T>& operator=( const nsAutoPtr<T>& rhs );
|
||||
|
||||
private:
|
||||
T* mRawPtr;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user