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-12-10 02:05:00 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-12-10 02:05:00 +0300
commit240b88c6834c9c94e8a6448a34dc4ad33bdf3fbd (patch)
treee9f43dba3717e8a430557c16a1d6543a13628ddf /moses/BaseManager.h
parentad5e27ae56298564dfd73637c160a682b5f5f028 (diff)
Passing around AllOptions or references thereto everywhere,
strong them locally where appropriate, so that compontents can become independent of StaticData once instantiated.
Diffstat (limited to 'moses/BaseManager.h')
-rw-r--r--moses/BaseManager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/BaseManager.h b/moses/BaseManager.h
index 65b78d434..3d858c18a 100644
--- a/moses/BaseManager.h
+++ b/moses/BaseManager.h
@@ -49,7 +49,7 @@ public:
//! the input sentence being decoded
const InputType& GetSource() const;
const ttasksptr GetTtask() const;
- AllOptions const& options() const;
+ AllOptions::ptr const& options() const;
virtual void Decode() = 0;
// outputs