From 545827e208e0fa33ec83b1a336984a50919bd5e1 Mon Sep 17 00:00:00 2001 From: "dmose@mozilla.org" Date: Thu, 5 Jul 2007 17:20:09 -0700 Subject: [PATCH] Remove trailing semicolons after method decls to avoid breaking forthcoming versions of gcc; r+sr=dbaron; no bug. --- uriloader/exthandler/nsHandlerAppImpl.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/uriloader/exthandler/nsHandlerAppImpl.h b/uriloader/exthandler/nsHandlerAppImpl.h index 0b5993d23a2e..b1d70cf07431 100644 --- a/uriloader/exthandler/nsHandlerAppImpl.h +++ b/uriloader/exthandler/nsHandlerAppImpl.h @@ -50,10 +50,10 @@ public: NS_DECL_ISUPPORTS NS_DECL_NSIHANDLERAPP - nsHandlerAppBase() NS_HIDDEN {}; - nsHandlerAppBase(const PRUnichar *aName) NS_HIDDEN { mName.Assign(aName); }; - nsHandlerAppBase(const nsAString & aName) NS_HIDDEN { mName.Assign(aName); }; - virtual ~nsHandlerAppBase() {}; + nsHandlerAppBase() NS_HIDDEN {} + nsHandlerAppBase(const PRUnichar *aName) NS_HIDDEN { mName.Assign(aName); } + nsHandlerAppBase(const nsAString & aName) NS_HIDDEN { mName.Assign(aName); } + virtual ~nsHandlerAppBase() {} protected: nsString mName; @@ -65,7 +65,7 @@ public: NS_DECL_ISUPPORTS_INHERITED NS_DECL_NSILOCALHANDLERAPP - nsLocalHandlerApp() {}; + nsLocalHandlerApp() {} nsLocalHandlerApp(const PRUnichar *aName, nsIFile *aExecutable) : nsHandlerAppBase(aName), mExecutable(aExecutable) {} @@ -73,7 +73,7 @@ public: nsLocalHandlerApp(const nsAString & aName, nsIFile *aExecutable) : nsHandlerAppBase(aName), mExecutable(aExecutable) {} - virtual ~nsLocalHandlerApp() {}; + virtual ~nsLocalHandlerApp() {} // overriding to keep old caching behavior (that a useful name is returned // even if none was given to the constructor) @@ -92,7 +92,7 @@ class nsWebHandlerApp : public nsHandlerAppBase, public nsIWebHandlerApp nsWebHandlerApp(const PRUnichar *aName, const nsACString &aUriTemplate) : nsHandlerAppBase(aName), mUriTemplate(aUriTemplate) { } - virtual ~nsWebHandlerApp() {}; + virtual ~nsWebHandlerApp() {} protected: nsCString mUriTemplate;