diff options
Diffstat (limited to 'js/src/builtin/intl/RelativeTimeFormat.h')
-rw-r--r-- | js/src/builtin/intl/RelativeTimeFormat.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/src/builtin/intl/RelativeTimeFormat.h b/js/src/builtin/intl/RelativeTimeFormat.h index 85b6d645b4..f6b62eae96 100644 --- a/js/src/builtin/intl/RelativeTimeFormat.h +++ b/js/src/builtin/intl/RelativeTimeFormat.h @@ -48,8 +48,7 @@ CreateRelativeTimeFormatPrototype(JSContext* cx, JS::Handle<JSObject*> Intl, *
* Usage: formatted = intl_FormatRelativeTime(relativeTimeFormat, t, unit)
*/
-extern MOZ_MUST_USE bool
-intl_FormatRelativeTime(JSContext* cx, unsigned argc, Value* vp);
+[[nodiscard]] extern bool intl_FormatRelativeTime(JSContext* cx, unsigned argc, Value* vp);
} // namespace js
|