diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-08-06 02:51:02 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-08-06 23:11:43 +0300 |
commit | 524109e2cabe5bd3ac693d3187e439885484a8c7 (patch) | |
tree | ed0bf9862bc6a50c327dd235efe3a038d2b0b2e2 /moses/BaseManager.cpp | |
parent | fc10ad4afb812200d7529256797a10438cfaf1f3 (diff) |
Reorganisation of options.
The purpose of this effort is to have options local to the individual translation task,
so that they can be changed in the running system in a multi-threaded system.
Diffstat (limited to 'moses/BaseManager.cpp')
-rw-r--r-- | moses/BaseManager.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/moses/BaseManager.cpp b/moses/BaseManager.cpp index fc01d9144..bd35e2098 100644 --- a/moses/BaseManager.cpp +++ b/moses/BaseManager.cpp @@ -140,6 +140,14 @@ void BaseManager::WriteApplicationContext(std::ostream &out, } } +AllOptions const& +BaseManager:: +options() const +{ + return GetTtask()->options(); +} + + } // namespace |