summaryrefslogtreecommitdiff
path: root/decoder/value_array.h
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-07 00:07:45 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-07 00:07:45 +0000
commit83654f58e1f5f5518ac0e30ad354eebda67fa774 (patch)
treeac9fe9f7bc495b4e6a89d07e081ced252d8282ea /decoder/value_array.h
parent784f179f1320220a73506d60a7711a9020c0b3d7 (diff)
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
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);
}