summaryrefslogtreecommitdiff
path: root/js/src/irregexp/InfallibleVector.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/irregexp/InfallibleVector.h')
-rw-r--r--js/src/irregexp/InfallibleVector.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/src/irregexp/InfallibleVector.h b/js/src/irregexp/InfallibleVector.h
index eafa576acf..4172a55956 100644
--- a/js/src/irregexp/InfallibleVector.h
+++ b/js/src/irregexp/InfallibleVector.h
@@ -1,6 +1,7 @@
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-// Copyright 2012 the V8 project authors. All rights reserved.
+// Copyright 2012 the V8 project authors.
+// Copyright 2023 Moonchild Productions.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
@@ -38,7 +39,7 @@ namespace irregexp {
// InfallibleVector is like Vector, but all its methods are infallible (they
// crash on OOM). We use this class instead of Vector to avoid a ton of
-// MOZ_MUST_USE warnings in irregexp code (imported from V8).
+// [[nodiscard]] warnings in irregexp code (imported from V8).
template<typename T, size_t N>
class InfallibleVector
{