Bug 774037 - Fix -Wdelete-non-virtual-dtor warning. r=dolske.
authorRafael Ávila de Espíndola <respindola@mozilla.com>
Sun, 15 Jul 2012 00:23:35 -0400
changeset 102063 d4eff6c7ddc829c77fe2c79a507cbb76a0188214
parent 102062 4d18d941e2a78fd58e23b96d345cab05eabf8342
child 102064 4c42f5fdc7693899931e24be0f8f93b5af43a080
push id1729
push userlsblakk@mozilla.com
push dateMon, 16 Jul 2012 20:02:43 +0000
treeherdermozilla-aurora@f4e75e148951 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdolske
bugs774037
milestone16.0a1
Bug 774037 - Fix -Wdelete-non-virtual-dtor warning. r=dolske.
toolkit/identity/IdentityCryptoService.cpp
--- a/toolkit/identity/IdentityCryptoService.cpp
+++ b/toolkit/identity/IdentityCryptoService.cpp
@@ -203,17 +203,17 @@ private:
   nsresult mRv; // out
   nsCString mSignature; // out
 
 private:
   SignRunnable(const SignRunnable &) MOZ_DELETE;
   void operator=(const SignRunnable &) MOZ_DELETE;
 };
 
-class IdentityCryptoService : public nsIIdentityCryptoService
+class IdentityCryptoService MOZ_FINAL : public nsIIdentityCryptoService
 {
 public:
   NS_DECL_ISUPPORTS
   NS_DECL_NSIIDENTITYCRYPTOSERVICE
 
   IdentityCryptoService() { }
   nsresult Init()
   {