summaryrefslogtreecommitdiff
path: root/intl/uconv/ucvlatin/nsUTF16ToUnicode.h
diff options
context:
space:
mode:
Diffstat (limited to 'intl/uconv/ucvlatin/nsUTF16ToUnicode.h')
-rw-r--r--intl/uconv/ucvlatin/nsUTF16ToUnicode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/intl/uconv/ucvlatin/nsUTF16ToUnicode.h b/intl/uconv/ucvlatin/nsUTF16ToUnicode.h
index 227fb412f4..1c39249429 100644
--- a/intl/uconv/ucvlatin/nsUTF16ToUnicode.h
+++ b/intl/uconv/ucvlatin/nsUTF16ToUnicode.h
@@ -24,9 +24,9 @@ public:
//--------------------------------------------------------------------
// 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;
NS_IMETHOD Reset() override;
protected: