summaryrefslogtreecommitdiff
path: root/xpcom/ds/IncrementalTokenizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/ds/IncrementalTokenizer.h')
-rw-r--r--xpcom/ds/IncrementalTokenizer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/xpcom/ds/IncrementalTokenizer.h b/xpcom/ds/IncrementalTokenizer.h
index f72b6d7f98..f7f6729772 100644
--- a/xpcom/ds/IncrementalTokenizer.h
+++ b/xpcom/ds/IncrementalTokenizer.h
@@ -70,8 +70,7 @@ public:
* Returns false if there is not enough data to deterministically recognize
* tokens or when the last returned token was EOF.
*/
- MOZ_MUST_USE
- bool Next(Token& aToken);
+ [[nodiscard]] bool Next(Token& aToken);
/**
* Can only be called from inside the consumer callback.