mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-27 01:27:30 +09:00
js: use MOZ_MUST_USE instead of C++17 keyword
This commit is contained in:
parent
e5a48f8565
commit
79614a4216
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ class SharedArrayRawBuffer
|
||||||
|
|
||||||
uint32_t refcount() const { return refcount_; }
|
uint32_t refcount() const { return refcount_; }
|
||||||
|
|
||||||
[[nodiscard]] bool addReference();
|
MOZ_MUST_USE bool addReference();
|
||||||
void dropReference();
|
void dropReference();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue