Bug 1038213 - Give nsTestComFactory a private destructor; r=bjacob
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 15 Jul 2014 14:58:34 -0400
changeset 216152 1cdc50fb04046bccf6e1c9b4f20e11e575b7dd11
parent 216151 10ab5792cf434492ed0ae6a7ffec6f91d23c8ae3
child 216153 8caf7ffcd9324dd66025593376f4e5d362562080
push id515
push userraliiev@mozilla.com
push dateMon, 06 Oct 2014 12:51:51 +0000
treeherdermozilla-release@267c7a481bef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbjacob
bugs1038213
milestone33.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1038213 - Give nsTestComFactory a private destructor; r=bjacob
xpcom/tests/windows/TestCOM.cpp
--- a/xpcom/tests/windows/TestCOM.cpp
+++ b/xpcom/tests/windows/TestCOM.cpp
@@ -65,16 +65,17 @@ MozExternalRefCountType nsTestCom::Relea
   printf("nsTestCom: Releasing = %d\n", res);
   if (res == 0) {
     delete this;
   }
   return res;
 }
 
 class nsTestComFactory MOZ_FINAL : public nsIFactory {
+  ~nsTestComFactory() {}
   NS_DECL_ISUPPORTS
 public:
   nsTestComFactory() {
   }
   
   NS_IMETHOD CreateInstance(nsISupports *aOuter,
                             const nsIID &aIID,
                             void **aResult);