From 9db822ad9f2e25d88520e1c61b20052e7dfca6ca Mon Sep 17 00:00:00 2001 From: graehl Date: Sat, 7 Aug 2010 00:07:45 +0000 Subject: dynamic fsa ff, factory for fsa and ff shares code, factory moved to ff_factory.cc git-svn-id: https://ws10smt.googlecode.com/svn/trunk@483 ec762483-ff6d-05da-a07a-a48fb63a330f --- decoder/value_array.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'decoder/value_array.h') 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); } -- cgit v1.2.3