diff options
author | Ulrich Germann <ugermann@inf.ed.ac.uk> | 2015-03-21 18:22:12 +0300 |
---|---|---|
committer | Ulrich Germann <ugermann@inf.ed.ac.uk> | 2015-03-21 18:29:37 +0300 |
commit | ee4e396a4dc64627c284dee5f26114b57e44b564 (patch) | |
tree | 880cead0ac9957088b14edb77ed141bfd04457df /moses/InputType.h | |
parent | fd56ba6afb31c7316d0c3859809d1d901d804dc3 (diff) |
Removed pointer to TranslationTask in InputTypes again. Not the right place to store this information.
Diffstat (limited to 'moses/InputType.h')
-rw-r--r-- | moses/InputType.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/moses/InputType.h b/moses/InputType.h index b7d9850c9..ea03ec23e 100644 --- a/moses/InputType.h +++ b/moses/InputType.h @@ -58,7 +58,6 @@ protected: ReorderingConstraint m_reorderingConstraint; /**< limits on reordering specified either by "-mp" switch or xml tags */ std::string m_textType; std::string m_passthrough; - TranslationTask const* m_ttask; // Translation task that "owns" this instance public: @@ -68,14 +67,11 @@ public: size_t m_frontSpanCoveredLength; // how many words from the beginning are covered - InputType(TranslationTask const* ttask, long translationId = 0); + InputType(long translationId = 0); virtual ~InputType(); virtual InputTypeEnum GetType() const = 0; - TranslationTask const* - GetTranslationTask() const { return m_ttask; } - long GetTranslationId() const { return m_translationId; } |