summaryrefslogtreecommitdiff
path: root/xpcom/base/nsGZFileWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/base/nsGZFileWriter.h')
-rw-r--r--xpcom/base/nsGZFileWriter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xpcom/base/nsGZFileWriter.h b/xpcom/base/nsGZFileWriter.h
index e1ba9c8152..ad2ea04fba 100644
--- a/xpcom/base/nsGZFileWriter.h
+++ b/xpcom/base/nsGZFileWriter.h
@@ -34,12 +34,12 @@ public:
* duplicate them here so that you can call these overloads on a pointer to
* the concrete nsGZFileWriter class.
*/
- MOZ_MUST_USE nsresult Write(const char* aStr)
+ [[nodiscard]] nsresult Write(const char* aStr)
{
return nsIGZFileWriter::Write(aStr);
}
- MOZ_MUST_USE nsresult Write(const char* aStr, uint32_t aLen)
+ [[nodiscard]] nsresult Write(const char* aStr, uint32_t aLen)
{
return nsIGZFileWriter::Write(aStr, aLen);
}