summaryrefslogtreecommitdiff
path: root/intl/uconv/nsReplacementToUnicode.h
diff options
context:
space:
mode:
Diffstat (limited to 'intl/uconv/nsReplacementToUnicode.h')
-rw-r--r--intl/uconv/nsReplacementToUnicode.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/intl/uconv/nsReplacementToUnicode.h b/intl/uconv/nsReplacementToUnicode.h
index fd19e8892f..a2e3058ab8 100644
--- a/intl/uconv/nsReplacementToUnicode.h
+++ b/intl/uconv/nsReplacementToUnicode.h
@@ -24,9 +24,9 @@ public:
char16_t* aDest,
int32_t* aDestLength) override;
- 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;