diff options
Diffstat (limited to 'intl/uconv/ucvlatin/nsUnicodeToUTF16.h')
-rw-r--r-- | intl/uconv/ucvlatin/nsUnicodeToUTF16.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/intl/uconv/ucvlatin/nsUnicodeToUTF16.h b/intl/uconv/ucvlatin/nsUnicodeToUTF16.h index b024a1b421..538da8e917 100644 --- a/intl/uconv/ucvlatin/nsUnicodeToUTF16.h +++ b/intl/uconv/ucvlatin/nsUnicodeToUTF16.h @@ -19,9 +19,9 @@ public: NS_IMETHOD Convert(const char16_t* aSrc, int32_t* aSrcLength, char* aDest, int32_t* aDestLength); - MOZ_MUST_USE NS_IMETHOD GetMaxLength(const char16_t* aSrc, - int32_t aSrcLength, - int32_t* aDestLength); + [[nodiscard]] NS_IMETHOD GetMaxLength(const char16_t* aSrc, + int32_t aSrcLength, + int32_t* aDestLength); NS_IMETHOD Finish(char* aDest, int32_t* aDestLength); NS_IMETHOD Reset(); NS_IMETHOD SetOutputErrorBehavior(int32_t aBehavior, |