summaryrefslogtreecommitdiff
path: root/netwerk/base/nsNetUtilInlines.h
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/base/nsNetUtilInlines.h')
-rw-r--r--netwerk/base/nsNetUtilInlines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/netwerk/base/nsNetUtilInlines.h b/netwerk/base/nsNetUtilInlines.h
index ea05bd1307..7b5ac15330 100644
--- a/netwerk/base/nsNetUtilInlines.h
+++ b/netwerk/base/nsNetUtilInlines.h
@@ -327,7 +327,7 @@ NS_NewLocalFileOutputStream(nsIOutputStream **result,
return rv;
}
-INLINE_IF_EXTERN MOZ_MUST_USE nsresult
+[[nodiscard]] INLINE_IF_EXTERN nsresult
NS_NewBufferedInputStream(nsIInputStream **result,
nsIInputStream *str,
uint32_t bufferSize)