summaryrefslogtreecommitdiff
path: root/intl/uconv/nsIUnicodeDecoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'intl/uconv/nsIUnicodeDecoder.h')
-rw-r--r--intl/uconv/nsIUnicodeDecoder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/intl/uconv/nsIUnicodeDecoder.h b/intl/uconv/nsIUnicodeDecoder.h
index 36a46759b5..539eae6be6 100644
--- a/intl/uconv/nsIUnicodeDecoder.h
+++ b/intl/uconv/nsIUnicodeDecoder.h
@@ -110,9 +110,9 @@ public:
* NS_ERROR_OUT_OF_MEMORY if OOM
* NS_OK is all we have is an approximation
*/
- MOZ_MUST_USE NS_IMETHOD GetMaxLength(const char* aSrc,
- int32_t aSrcLength,
- int32_t* aDestLength) = 0;
+ [[nodiscard]] NS_IMETHOD GetMaxLength(const char* aSrc,
+ int32_t aSrcLength,
+ int32_t* aDestLength) = 0;
/**
* Resets the charset converter so it may be recycled for a completely