diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-12-05 17:06:35 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-12-05 17:06:35 +0400 |
commit | b33cf30bc10632193dee7ff913422c5be295b4dd (patch) | |
tree | b48be6a2da8c26ac025a721c8a0d9c5b34be683c /moses/DecodeGraph.h | |
parent | 19aa8c1056b6fa34570430b9a8a58b9ec58e41ab (diff) |
transliteration pt obery backoff argument. Probably not threadable yet
Diffstat (limited to 'moses/DecodeGraph.h')
-rw-r--r-- | moses/DecodeGraph.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/moses/DecodeGraph.h b/moses/DecodeGraph.h index e882e3904..ecac3ee7e 100644 --- a/moses/DecodeGraph.h +++ b/moses/DecodeGraph.h @@ -71,9 +71,7 @@ public: virtual ~DecodeGraph(); //! Add another decode step to the graph - void Add(const DecodeStep *decodeStep) { - m_steps.push_back(decodeStep); - } + void Add(DecodeStep *decodeStep); size_t GetSize() const { return m_steps.size(); |