I'm trying to compile Firefox with the new ICC13. I keep getting this error, and am not sure why. This doesn't occur when compiling with MSVC:
The code where this occurs:
/**
* Whenever "memory-pressure" is observed, it calls AgeAllGenerations()
* to minimize memory usage.
*/
class ExpirationTrackerObserver MOZ_FINAL : public nsIObserver {
public:
void Init(nsExpirationTracker *obj) {
mOwner = obj;
nsCOMPtr obs = mozilla::services::GetObserverService();
if (obs) {
obs->AddObserver(this, "memory-pressure", false);
}
}
void Destroy() {
nsCOMPtr obs = mozilla::services::GetObserverService();
if (obs)
obs->RemoveObserver(this, "memory-pressure");
}
NS_DECL_ISUPPORTS
NS_DECL_NSIOBSERVER
private:
nsExpirationTracker *mOwner;
};





