diff --git a/moses-cmd/MainVW.cpp b/moses-cmd/MainVW.cpp index 0e611b139..694dcee8a 100644 --- a/moses-cmd/MainVW.cpp +++ b/moses-cmd/MainVW.cpp @@ -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 // StaticData::InstanceNonConst().SetTask(); // => moved into StaticData constructor - + try { #ifdef HAVE_PROTOBUF diff --git a/moses/TrainingTask.h b/moses/TrainingTask.h index eed6d7d4b..83933691d 100644 --- a/moses/TrainingTask.h +++ b/moses/TrainingTask.h @@ -47,7 +47,7 @@ public: static boost::shared_ptr create(boost::shared_ptr const& source, boost::shared_ptr const& ioWrapper, - boost::shared_ptr const& scope) { + boost::shared_ptr const& scope) { boost::shared_ptr ret(new TrainingTask(source, ioWrapper)); ret->m_self = ret; ret->m_scope = scope;