diff options
Diffstat (limited to 'mfbt/SegmentedVector.h')
-rw-r--r-- | mfbt/SegmentedVector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mfbt/SegmentedVector.h b/mfbt/SegmentedVector.h index 6e4dc2a452..54590a934d 100644 --- a/mfbt/SegmentedVector.h +++ b/mfbt/SegmentedVector.h @@ -158,7 +158,7 @@ public: // Returns false if the allocation failed. (If you are using an infallible // allocation policy, use InfallibleAppend() instead.) template<typename U> - MOZ_MUST_USE bool Append(U&& aU) + [[nodiscard]] bool Append(U&& aU) { Segment* last = mSegments.getLast(); if (!last || last->Length() == kSegmentCapacity) { |