Bug 1319703 - Use C++11's override and remove virtual where applicable in extensions/. draft
authorAndi-Bogdan Postelnicu <bpostelnicu@mozilla.com>
Wed, 23 Nov 2016 11:39:13 +0200
changeset 442836 0692211b10dd337eacf2d71d4c464793241c2c36
parent 442835 545e3af0d39f9bd4b5293469ee585c6741129565
child 537902 44a610b8c742453d1a9d1bd6f57e853926c7a8b6
push id36833
push userbmo:bpostelnicu@mozilla.com
push dateWed, 23 Nov 2016 09:51:15 +0000
bugs1319703
milestone53.0a1
Bug 1319703 - Use C++11's override and remove virtual where applicable in extensions/. MozReview-Commit-ID: LsLJ4CnXbJ9
extensions/auth/nsHttpNegotiateAuth.cpp
--- a/extensions/auth/nsHttpNegotiateAuth.cpp
+++ b/extensions/auth/nsHttpNegotiateAuth.cpp
@@ -316,17 +316,17 @@ NS_IMPL_ISUPPORTS(GetNextTokenCompleteEv
 //
 // GetNextTokenRunnable
 //
 // This runnable is created by GenerateCredentialsAsync and it runs
 // in nsHttpNegotiateAuth::mNegotiateThread and calling GenerateCredentials.
 //
 class GetNextTokenRunnable final : public mozilla::Runnable
 {
-    virtual ~GetNextTokenRunnable() = default;
+    ~GetNextTokenRunnable() override = default;
     public:
         GetNextTokenRunnable(nsIHttpAuthenticableChannel *authChannel,
                              const char *challenge,
                              bool isProxyAuth,
                              const char16_t *domain,
                              const char16_t *username,
                              const char16_t *password,
                              nsISupports *sessionState,