diff options
Diffstat (limited to 'js/src/jsstr.h')
-rw-r--r-- | js/src/jsstr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/jsstr.h b/js/src/jsstr.h index cd2be4e59b..8ee7259cc2 100644 --- a/js/src/jsstr.h +++ b/js/src/jsstr.h @@ -377,7 +377,7 @@ str_trimEnd(JSContext* cx, unsigned argc, Value* vp); * * Usage: lowerCase = intl_toLocaleLowerCase(string, locale) */ -extern MOZ_MUST_USE bool +[[nodiscard]] extern bool intl_toLocaleLowerCase(JSContext* cx, unsigned argc, Value* vp); /** @@ -386,7 +386,7 @@ intl_toLocaleLowerCase(JSContext* cx, unsigned argc, Value* vp); * * Usage: upperCase = intl_toLocaleUpperCase(string, locale) */ -extern MOZ_MUST_USE bool +[[nodiscard]] extern bool intl_toLocaleUpperCase(JSContext* cx, unsigned argc, Value* vp); |