partial backout of scc's nsCOMPtr, attempting to revive Win32 build

This commit is contained in:
shaver%netscape.com 1999-06-29 22:33:18 +00:00
parent 6509cc7ba5
commit 3059d46d41
2 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ class nsDerivedSafe : public T
void operator delete( void*, size_t ); // NOT TO BE IMPLEMENTED
// declaring |operator delete| private makes calling delete on an interface pointer a compile error
nsDerivedSafe<T>& operator=( const T& ); // NOT TO BE IMPLEMENTED
nsDerivedSafe<T>& operator=( const nsDerivedSafe<T>& ); // NOT TO BE IMPLEMENTED
// you may not call |operator=()| through a dereferenced |nsCOMPtr|, because you'd get the wrong one
};

View File

@ -189,7 +189,7 @@ class nsDerivedSafe : public T
void operator delete( void*, size_t ); // NOT TO BE IMPLEMENTED
// declaring |operator delete| private makes calling delete on an interface pointer a compile error
nsDerivedSafe<T>& operator=( const T& ); // NOT TO BE IMPLEMENTED
nsDerivedSafe<T>& operator=( const nsDerivedSafe<T>& ); // NOT TO BE IMPLEMENTED
// you may not call |operator=()| through a dereferenced |nsCOMPtr|, because you'd get the wrong one
};