Make CBufDescriptor const to avoid -pedantic bustage.

git-svn-id: svn://10.0.0.236/trunk@45679 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
waterson%netscape.com
1999-09-02 08:02:57 +00:00
parent 8f374079e0
commit 2f06ca0869
6 changed files with 6 additions and 6 deletions

View File

@@ -2062,7 +2062,7 @@ nsAutoString::nsAutoString(const PRUnichar* aString,PRInt32 aLength) : nsString(
* constructor that uses external buffer
* @param aBuffer describes the external buffer
*/
nsAutoString::nsAutoString(CBufDescriptor& aBuffer) : nsString() {
nsAutoString::nsAutoString(const CBufDescriptor& aBuffer) : nsString() {
mAgent=0;
if(!aBuffer.mBuffer) {
nsStr::Initialize(*this,mBuffer,(sizeof(mBuffer)>>eTwoByte)-1,0,eTwoByte,PR_FALSE);