Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me

git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
benjamin%smedbergs.us
2007-04-23 14:22:04 +00:00
parent 84abced9da
commit 7262cdad6d
156 changed files with 444 additions and 444 deletions

View File

@@ -226,12 +226,12 @@ class nsMatchesTopic : public nsDequeFunctor{
public:
PRBool matched;
nsObserverEntry* entry;
nsMatchesTopic(const nsAString& aString):mString(aString),matched(PR_FALSE){};
nsMatchesTopic(const nsAString& aString):mString(aString),matched(PR_FALSE){}
virtual void* operator()(void* anObject){
entry=NS_STATIC_CAST(nsObserverEntry*, anObject);
matched=mString.Equals(entry->mTopic);
return matched ? nsnull : anObject;
};
}
};
// XXX This may be more efficient as a HashTable instead of linear search