[Please reassign or change component as appropriate] From Macintosh compiler (nsRangeList.cpp in layout.mcp): Warning : 'nsDerivedSafe<nsISupportsArray>::operator=(const nsDerivedSafe< nsISupportsArray> &)' hides inherited virtual function 'nsISupportsArray::operator=(const nsISupportsArray &)' (instantiating: 'nsDerivedSafe<nsISupportsArray>') nsCOMPtr.h line 367 };
Moving bug fomr XP-COM to XPCOM. Cleaning up Bugzilla. XP-COM will be removed.
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → WONTFIX
Right. I know this sounds strange, but this is what I intended to happen. | nsDerivedSafe| hides inherited |operator=| because you couldn't possibly get the right one. |nsDerivedSafe| makes |operator=| private so you can't call it and accidentally slice in the following circumstance *myCOMPtr = *someOtherPointer; I wish I could supress the warning, but I can't. Sorry.
Marking Verified/Won't Fix.
You need to log in before you can comment on or make changes to this bug.