I think this is the right fix for the wensleydale bustage. Added |operator*()| to |nsXPIDL[C]String|. Fixed |const|-ness of existing operators and made inline. Built and tested on Mac; if this doesn't help, I'll back it right out. r=ckritzer (I swear I'm not making this up!)
git-svn-id: svn://10.0.0.236/trunk@61131 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -47,12 +47,6 @@ nsXPIDLString::~nsXPIDLString()
|
||||
}
|
||||
|
||||
|
||||
nsXPIDLString::operator const PRUnichar*()
|
||||
{
|
||||
return mBuf;
|
||||
}
|
||||
|
||||
|
||||
PRUnichar*
|
||||
nsXPIDLString::Copy(const PRUnichar* aString)
|
||||
{
|
||||
@@ -135,12 +129,6 @@ nsXPIDLCString& nsXPIDLCString::operator =(const char* aCString)
|
||||
}
|
||||
|
||||
|
||||
nsXPIDLCString::operator const char*()
|
||||
{
|
||||
return mBuf;
|
||||
}
|
||||
|
||||
|
||||
char*
|
||||
nsXPIDLCString::Copy(const char* aCString)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user