mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-10-05 15:58:03 +03:00
daily automatic beautifier
This commit is contained in:
parent
08138b44a7
commit
743a63b6d3
@ -72,7 +72,7 @@ int main(int argc, char const** argv)
|
|||||||
{
|
{
|
||||||
//setting in the Staticdata a link between the thread id of this process and a NULL tasksptr
|
//setting in the Staticdata a link between the thread id of this process and a NULL tasksptr
|
||||||
// StaticData::InstanceNonConst().SetTask(); // => moved into StaticData constructor
|
// StaticData::InstanceNonConst().SetTask(); // => moved into StaticData constructor
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
#ifdef HAVE_PROTOBUF
|
#ifdef HAVE_PROTOBUF
|
||||||
|
@ -47,7 +47,7 @@ public:
|
|||||||
static boost::shared_ptr<TrainingTask>
|
static boost::shared_ptr<TrainingTask>
|
||||||
create(boost::shared_ptr<InputType> const& source,
|
create(boost::shared_ptr<InputType> const& source,
|
||||||
boost::shared_ptr<IOWrapper> const& ioWrapper,
|
boost::shared_ptr<IOWrapper> const& ioWrapper,
|
||||||
boost::shared_ptr<ContextScope> const& scope) {
|
boost::shared_ptr<ContextScope> const& scope) {
|
||||||
boost::shared_ptr<TrainingTask> ret(new TrainingTask(source, ioWrapper));
|
boost::shared_ptr<TrainingTask> ret(new TrainingTask(source, ioWrapper));
|
||||||
ret->m_self = ret;
|
ret->m_self = ret;
|
||||||
ret->m_scope = scope;
|
ret->m_scope = scope;
|
||||||
|
Loading…
Reference in New Issue
Block a user