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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user