diff options
Diffstat (limited to 'js/src/builtin/intl/Locale.h')
-rw-r--r-- | js/src/builtin/intl/Locale.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/src/builtin/intl/Locale.h b/js/src/builtin/intl/Locale.h index 881906616b..b57af31296 100644 --- a/js/src/builtin/intl/Locale.h +++ b/js/src/builtin/intl/Locale.h @@ -48,14 +48,14 @@ extern JSObject* CreateLocalePrototype(JSContext* cx, JS::Handle<JSObject*> Intl, JS::Handle<GlobalObject*> global); -extern MOZ_MUST_USE bool intl_ValidateAndCanonicalizeLanguageTag(JSContext* cx, - unsigned argc, - Value* vp); +[[nodiscard]] extern bool intl_ValidateAndCanonicalizeLanguageTag(JSContext* cx, + unsigned argc, + Value* vp); -extern MOZ_MUST_USE bool intl_TryValidateAndCanonicalizeLanguageTag( +[[nodiscard]] extern bool intl_TryValidateAndCanonicalizeLanguageTag( JSContext* cx, unsigned argc, Value* vp); -extern MOZ_MUST_USE bool intl_ValidateAndCanonicalizeUnicodeExtensionType( +[[nodiscard]] extern bool intl_ValidateAndCanonicalizeUnicodeExtensionType( JSContext* cx, unsigned argc, Value* vp); } // namespace js |