Bug 1038213 - Give nsTestComFactory a private destructor; r=bjacob
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 15 Jul 2014 14:58:34 -0400
changeset 208026 1cdc50fb04046bccf6e1c9b4f20e11e575b7dd11
parent 208025 10ab5792cf434492ed0ae6a7ffec6f91d23c8ae3
child 208027 8caf7ffcd9324dd66025593376f4e5d362562080
push id6561
push userasasaki@mozilla.com
push dateMon, 21 Jul 2014 21:23:20 +0000
treeherdermozilla-aurora@428d4d3c8588 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbjacob
bugs1038213
milestone33.0a1
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);