aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vespalib/src/vespa/vespalib/data/slime/array_value.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/data/slime/array_value.h b/vespalib/src/vespa/vespalib/data/slime/array_value.h
index b1b257e8476..216d116498c 100644
--- a/vespalib/src/vespa/vespalib/data/slime/array_value.h
+++ b/vespalib/src/vespa/vespalib/data/slime/array_value.h
@@ -5,6 +5,7 @@
#include "value.h"
#include "nix_value.h"
#include "value_factory.h"
+#include <vespa/vespalib/stllike/allocator.h>
#include <vector>
namespace vespalib::slime {
@@ -18,7 +19,7 @@ class ArrayValue final : public Value
private:
SymbolTable &_symbolTable;
Stash &_stash;
- std::vector<Value*> _values;
+ std::vector<Value*, vespalib::allocator_large<Value*>> _values;
protected:
Cursor &addLeaf(const ValueFactory &input) override {