diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-10-18 23:27:58 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-10-18 23:27:58 +0300 |
commit | bdb0227ee9648ea96e8ee266d32581c63762b8b0 (patch) | |
tree | 5aff9707a743b3ec5f0e16cba70771b7299516f0 /moses/DecodeStepTranslation.h | |
parent | 7a85126a926c4ffdbd0a956b3b4cec07eea33ed2 (diff) |
Life cycle of TargetPhraseCollection is now managed via shared pointers.
Diffstat (limited to 'moses/DecodeStepTranslation.h')
-rw-r--r-- | moses/DecodeStepTranslation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/DecodeStepTranslation.h b/moses/DecodeStepTranslation.h index 2d381e219..eceebb940 100644 --- a/moses/DecodeStepTranslation.h +++ b/moses/DecodeStepTranslation.h @@ -48,7 +48,7 @@ public: , PartialTranslOptColl &outputPartialTranslOptColl , TranslationOptionCollection *toc , bool adhereTableLimit - , const TargetPhraseCollection *phraseColl) const; + , TargetPhraseCollection::shared_ptr phraseColl) const; /*! initialize list of partial translation options by applying the first translation step @@ -58,7 +58,7 @@ public: , PartialTranslOptColl &outputPartialTranslOptColl , size_t startPos, size_t endPos, bool adhereTableLimit , const InputPath &inputPath - , const TargetPhraseCollection *phraseColl) const; + , TargetPhraseCollection::shared_ptr phraseColl) const; // legacy void ProcessInitialTranslationLEGACY(const InputType &source |