Bug 1040041 - Give FakeInputStream a private destructor; r=bjacob
authorEhsan Akhgari <ehsan@mozilla.com>
Thu, 17 Jul 2014 16:48:00 -0400
changeset 194812 7dcb7b833e5c00f21bf5fc30d88feee66c3d35f3
parent 194811 defe870e87d84e65738a01f86924cdca9ac3c5f3
child 194813 ffa321eb4575b5f01ba5876cf4768360bc999cdf
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersbjacob
bugs1040041
milestone33.0a1
Bug 1040041 - Give FakeInputStream a private destructor; r=bjacob
xpcom/tests/TestBase64.cpp
--- a/xpcom/tests/TestBase64.cpp
+++ b/xpcom/tests/TestBase64.cpp
@@ -140,16 +140,18 @@ static Test kTests[] =
     Test(
       nullptr,
       nullptr
     )
   };
 
 class FakeInputStream MOZ_FINAL : public nsIInputStream
 {
+  ~FakeInputStream() {}
+
 public:
 
   FakeInputStream()
   : mTestNumber(0),
     mTest(&kTests[0]),
     mChunk(&mTest->mChunks[0]),
     mClosed(false)
   {}