summaryrefslogtreecommitdiff
path: root/decoder/value_array.h
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/value_array.h')
-rwxr-xr-xdecoder/value_array.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/decoder/value_array.h b/decoder/value_array.h
index 1a0d5f95..cdf1d697 100755
--- a/decoder/value_array.h
+++ b/decoder/value_array.h
@@ -150,8 +150,10 @@ public:
}
ValueArray(ValueArray const& other)
- : sz(other.sz)
+ : A(other)
+ , sz(other.sz)
, array(A::allocate(sz))
+
{
copy_construct(other.begin(),other.end(),array);
}