aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/prevector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/prevector.h b/src/prevector.h
index 033952c959..7a13b98214 100644
--- a/src/prevector.h
+++ b/src/prevector.h
@@ -252,7 +252,7 @@ public:
resize(n);
}
- explicit prevector(size_type n, const T& val = T()) : _size(0) {
+ explicit prevector(size_type n, const T& val) : _size(0) {
change_capacity(n);
_size += n;
fill(item_ptr(0), n, val);