Reduce the size of nsXPIDL[C]String by making destructor non-virtual and thus removing vtable pointer. b=75163 r=waterson@netscape.com sr=scc@mozilla.org

git-svn-id: svn://10.0.0.236/trunk@92296 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dbaron%fas.harvard.edu
2001-04-14 17:08:16 +00:00
parent 058a80430a
commit fdf2976375
2 changed files with 4 additions and 4 deletions

View File

@@ -119,7 +119,7 @@ public:
*/
nsXPIDLString() : mBuf(0), mBufOwner(PR_FALSE) {}
virtual ~nsXPIDLString();
~nsXPIDLString();
/**
* Return a reference to the immutable Unicode string.
@@ -262,7 +262,7 @@ public:
*/
nsXPIDLCString() : mBuf(0), mBufOwner(PR_FALSE) {}
virtual ~nsXPIDLCString();
~nsXPIDLCString();
/**
* Assign a single-byte string to this wrapper. Copies

View File

@@ -119,7 +119,7 @@ public:
*/
nsXPIDLString() : mBuf(0), mBufOwner(PR_FALSE) {}
virtual ~nsXPIDLString();
~nsXPIDLString();
/**
* Return a reference to the immutable Unicode string.
@@ -262,7 +262,7 @@ public:
*/
nsXPIDLCString() : mBuf(0), mBufOwner(PR_FALSE) {}
virtual ~nsXPIDLCString();
~nsXPIDLCString();
/**
* Assign a single-byte string to this wrapper. Copies