Bug 1139603: Add MOZ_OVERRIDE annotations in CacheParent.h and QuotaClient.cpp to fix clang -Winconsistent-missing-override. r=ehsan

This commit is contained in:
Daniel Holbert 2015-03-04 13:58:55 -08:00
parent 5ca39a7a39
commit 76ce9ce1fc
2 changed files with 3 additions and 2 deletions

View File

@ -46,7 +46,8 @@ private:
RecvAddAll(const RequestId& aRequestId,
nsTArray<PCacheRequest>&& aRequests) MOZ_OVERRIDE;
virtual bool
RecvPut(const RequestId& aRequestId, const CacheRequestResponse& aPut);
RecvPut(const RequestId& aRequestId,
const CacheRequestResponse& aPut) MOZ_OVERRIDE;
virtual bool
RecvDelete(const RequestId& aRequestId, const PCacheRequest& aRequest,
const PCacheQueryParams& aParams) MOZ_OVERRIDE;

View File

@ -194,7 +194,7 @@ private:
~CacheQuotaClient() { }
public:
NS_INLINE_DECL_REFCOUNTING(CacheQuotaClient)
NS_INLINE_DECL_REFCOUNTING(CacheQuotaClient, MOZ_OVERRIDE)
};
} // anonymous namespace;