Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Germann <Ulrich.Germann@gmail.com>2015-04-21 19:51:19 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-04-21 19:51:19 +0300
commit73b5561fe34b1210215dcf5c8fe5d52624bdf4b1 (patch)
treeb0a4b1d1ec9e2415f47d5dc9dd5f5e62b42b7c5f /moses/TranslationOptionCollection.h
parent48b3b88c4af9891497ea611013fef400f478d39c (diff)
Added member function GetTranslationTask().
Diffstat (limited to 'moses/TranslationOptionCollection.h')
-rw-r--r--moses/TranslationOptionCollection.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/moses/TranslationOptionCollection.h b/moses/TranslationOptionCollection.h
index 30220e8db..bed060949 100644
--- a/moses/TranslationOptionCollection.h
+++ b/moses/TranslationOptionCollection.h
@@ -177,7 +177,10 @@ public:
return m_inputPathQueue;
}
-
+ ttasksptr GetTranslationTask() const
+ {
+ return m_ttask.lock();
+ }
TO_STRING();
};