Bug 1060984 - Fix the xulrunnner build now that we static_assert against bad public destructors, a=NPOTB DONTBUILD
authorBenoit Jacob <bjacob@mozilla.com>
Mon, 01 Sep 2014 13:07:41 -0400
changeset 217746 1d9cbbf6af8c9135dcbe9b2756a64f7e229b1cdb
parent 217745 b5b25981de3daf3435c2306861d79af265ab424c
child 217747 2ec53377f6b4e9cee6590e8cf0ac1942875320b5
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)
reviewersNPOTB
bugs1060984
milestone33.0a2
Bug 1060984 - Fix the xulrunnner build now that we static_assert against bad public destructors, a=NPOTB DONTBUILD
xulrunner/examples/simple/components/src/SimpleTest.cpp
--- a/xulrunner/examples/simple/components/src/SimpleTest.cpp
+++ b/xulrunner/examples/simple/components/src/SimpleTest.cpp
@@ -4,16 +4,17 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #include <stdio.h>
 #include "nsISimpleTest.h"
 #include "mozilla/ModuleUtils.h"
 
 class SimpleTest : public nsISimpleTest
 {
+  ~SimpleTest() {}
 public:
   NS_DECL_ISUPPORTS
   NS_DECL_NSISIMPLETEST
 };
 
 NS_IMPL_ISUPPORTS(SimpleTest, nsISimpleTest)
 
 NS_IMETHODIMP