From 0412b0df5d50f92bf3eaa1440d749e125a6390ad Mon Sep 17 00:00:00 2001 From: "darin%meer.net" Date: Thu, 24 Nov 2005 00:10:59 +0000 Subject: [PATCH] prevent "nsTArray< nsAutoPtr >", which could easily lead to problems. bug 316782 r+sr=jag git-svn-id: svn://10.0.0.236/trunk@185232 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/base/nsAutoPtr.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mozilla/xpcom/base/nsAutoPtr.h b/mozilla/xpcom/base/nsAutoPtr.h index 874b1e319a4..b75966211ee 100644 --- a/mozilla/xpcom/base/nsAutoPtr.h +++ b/mozilla/xpcom/base/nsAutoPtr.h @@ -71,6 +71,10 @@ class nsAutoPtr delete oldPtr; } + // NOT IMPLEMENTED + nsAutoPtr( const nsAutoPtr& aSmartPtr ); + nsAutoPtr& operator=( const nsAutoPtr& rhs ); + private: T* mRawPtr;