From f308b8846b61ef7dac519fe03e65f8a61b410051 Mon Sep 17 00:00:00 2001 From: "dbaron%fas.harvard.edu" Date: Sat, 14 Apr 2001 17:08:16 +0000 Subject: [PATCH] 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 --- string/obsolete/nsXPIDLString.h | 4 ++-- xpcom/string/obsolete/nsXPIDLString.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/string/obsolete/nsXPIDLString.h b/string/obsolete/nsXPIDLString.h index c1a30745cb9..6c92f49a8ee 100644 --- a/string/obsolete/nsXPIDLString.h +++ b/string/obsolete/nsXPIDLString.h @@ -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 diff --git a/xpcom/string/obsolete/nsXPIDLString.h b/xpcom/string/obsolete/nsXPIDLString.h index c1a30745cb9..6c92f49a8ee 100644 --- a/xpcom/string/obsolete/nsXPIDLString.h +++ b/xpcom/string/obsolete/nsXPIDLString.h @@ -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