diff options
Diffstat (limited to 'intl/uconv/nsIUnicodeEncoder.h')
-rw-r--r-- | intl/uconv/nsIUnicodeEncoder.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/intl/uconv/nsIUnicodeEncoder.h b/intl/uconv/nsIUnicodeEncoder.h index e704a21955..67d0cd7bd0 100644 --- a/intl/uconv/nsIUnicodeEncoder.h +++ b/intl/uconv/nsIUnicodeEncoder.h @@ -135,9 +135,9 @@ public: * NS_ERROR_OUT_OF_MEMORY if OOM * NS_OK if all we have is an approximation */ - MOZ_MUST_USE NS_IMETHOD GetMaxLength(const char16_t* aSrc, - int32_t aSrcLength, - int32_t* aDestLength) = 0; + [[nodiscard]] NS_IMETHOD GetMaxLength(const char16_t* aSrc, + int32_t aSrcLength, + int32_t* aDestLength) = 0; /** * Resets the charset converter so it may be recycled for a completely |