diff options
Diffstat (limited to 'intl/uconv/nsUTF8ToUnicode.h')
-rw-r--r-- | intl/uconv/nsUTF8ToUnicode.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/intl/uconv/nsUTF8ToUnicode.h b/intl/uconv/nsUTF8ToUnicode.h index d80fa18992..ebac158881 100644 --- a/intl/uconv/nsUTF8ToUnicode.h +++ b/intl/uconv/nsUTF8ToUnicode.h @@ -49,9 +49,9 @@ protected: //-------------------------------------------------------------------- // Subclassing of nsDecoderSupport class [declaration] - MOZ_MUST_USE NS_IMETHOD GetMaxLength(const char* aSrc, - int32_t aSrcLength, - int32_t* aDestLength) override; + [[nodiscard]] NS_IMETHOD GetMaxLength(const char* aSrc, + int32_t aSrcLength, + int32_t* aDestLength) override; //-------------------------------------------------------------------- // Subclassing of nsBasicDecoderSupport class [declaration] |