diff options
Diffstat (limited to 'dom/media/webaudio/AlignedTArray.h')
-rw-r--r-- | dom/media/webaudio/AlignedTArray.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/media/webaudio/AlignedTArray.h b/dom/media/webaudio/AlignedTArray.h index 6d144d4e5c..5b9c880f65 100644 --- a/dom/media/webaudio/AlignedTArray.h +++ b/dom/media/webaudio/AlignedTArray.h @@ -36,7 +36,7 @@ public: base_type::SetLength(newLen + sExtra); } - MOZ_MUST_USE + [[nodiscard]] bool SetLength(size_type newLen, const mozilla::fallible_t&) { return base_type::SetLength(newLen + sExtra, mozilla::fallible); @@ -89,7 +89,7 @@ public: base_type::SetLength(newLen + sExtra); } - MOZ_MUST_USE + [[nodiscard]] bool SetLength(size_type newLen, const mozilla::fallible_t&) { return base_type::SetLength(newLen + sExtra, mozilla::fallible); |