summaryrefslogtreecommitdiff
path: root/js/src/regexp/util/vector.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/regexp/util/vector.h')
-rw-r--r--js/src/regexp/util/vector.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/regexp/util/vector.h b/js/src/regexp/util/vector.h
index 2419447d67..435318ce71 100644
--- a/js/src/regexp/util/vector.h
+++ b/js/src/regexp/util/vector.h
@@ -45,9 +45,9 @@ void DeleteArray(T* array) {
template <typename T>
class Vector {
public:
- constexpr Vector() : start_(nullptr), length_(0) {}
+ Vector() : start_(nullptr), length_(0) {}
- constexpr Vector(T* data, size_t length) : start_(data), length_(length) {
+ Vector(T* data, size_t length) : start_(data), length_(length) {
MOZ_ASSERT_IF(length != 0, data != nullptr);
}