summaryrefslogtreecommitdiff
path: root/intl/uconv/nsUnicodeToUTF8.h
diff options
context:
space:
mode:
Diffstat (limited to 'intl/uconv/nsUnicodeToUTF8.h')
-rw-r--r--intl/uconv/nsUnicodeToUTF8.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/intl/uconv/nsUnicodeToUTF8.h b/intl/uconv/nsUnicodeToUTF8.h
index 410bde2813..e76ad5dbc5 100644
--- a/intl/uconv/nsUnicodeToUTF8.h
+++ b/intl/uconv/nsUnicodeToUTF8.h
@@ -48,9 +48,9 @@ public:
NS_IMETHOD Finish(char* aDest, int32_t* aDestLength) override;
- MOZ_MUST_USE NS_IMETHOD GetMaxLength(const char16_t* aSrc,
- int32_t aSrcLength,
- int32_t* aDestLength) override;
+ [[nodiscard]] NS_IMETHOD GetMaxLength(const char16_t* aSrc,
+ int32_t aSrcLength,
+ int32_t* aDestLength) override;
NS_IMETHOD Reset() override {mHighSurrogate = 0; return NS_OK;}