mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
# 37239
r = valeski, a = brendan OS/2 bring-up - Yes I know this is ugly. We are getting a linker error on this delete. We want to get our builds up by any means necessary, so I need to comment this out for us for now.
This commit is contained in:
parent
2ebc0a5b20
commit
dc2e138a70
@ -178,8 +178,10 @@ class nsDerivedSafe : public T
|
||||
NS_IMETHOD_(nsrefcnt) Release(void);
|
||||
#endif
|
||||
|
||||
#ifndef XP_OS2_VACPP
|
||||
void operator delete( void*, size_t ); // NOT TO BE IMPLEMENTED
|
||||
// declaring |operator delete| private makes calling delete on an interface pointer a compile error
|
||||
#endif
|
||||
|
||||
nsDerivedSafe<T>& operator=( const T& ); // NOT TO BE IMPLEMENTED
|
||||
// you may not call |operator=()| through a dereferenced |nsCOMPtr|, because you'd get the wrong one
|
||||
|
@ -178,8 +178,10 @@ class nsDerivedSafe : public T
|
||||
NS_IMETHOD_(nsrefcnt) Release(void);
|
||||
#endif
|
||||
|
||||
#ifndef XP_OS2_VACPP
|
||||
void operator delete( void*, size_t ); // NOT TO BE IMPLEMENTED
|
||||
// declaring |operator delete| private makes calling delete on an interface pointer a compile error
|
||||
#endif
|
||||
|
||||
nsDerivedSafe<T>& operator=( const T& ); // NOT TO BE IMPLEMENTED
|
||||
// you may not call |operator=()| through a dereferenced |nsCOMPtr|, because you'd get the wrong one
|
||||
|
Loading…
Reference in New Issue
Block a user