diff options
Diffstat (limited to 'js/src/ctypes/Library.h')
-rw-r--r-- | js/src/ctypes/Library.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/ctypes/Library.h b/js/src/ctypes/Library.h index 83e2daba05..56f2df19a9 100644 --- a/js/src/ctypes/Library.h +++ b/js/src/ctypes/Library.h @@ -23,14 +23,14 @@ enum LibrarySlot { namespace Library { - MOZ_MUST_USE bool Name(JSContext* cx, unsigned argc, JS::Value* vp); + [[nodiscard]] bool Name(JSContext* cx, unsigned argc, JS::Value* vp); JSObject* Create(JSContext* cx, JS::HandleValue path, const JSCTypesCallbacks* callbacks); bool IsLibrary(JSObject* obj); PRLibrary* GetLibrary(JSObject* obj); - MOZ_MUST_USE bool Open(JSContext* cx, unsigned argc, JS::Value* vp); + [[nodiscard]] bool Open(JSContext* cx, unsigned argc, JS::Value* vp); } // namespace Library } // namespace ctypes |