diff options
author | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-04-30 08:05:11 +0300 |
---|---|---|
committer | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-04-30 08:05:11 +0300 |
commit | eca582410006443d0b101a9ae188e302f34f8a03 (patch) | |
tree | 35212762fbe666330205e2a9ef09d16a918d077c /moses/TrainingTask.h | |
parent | 85acdc62b1548863a6db18bebb538406cfcfa038 (diff) |
Remove trailing whitespace in C++ files.
Diffstat (limited to 'moses/TrainingTask.h')
-rw-r--r-- | moses/TrainingTask.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/moses/TrainingTask.h b/moses/TrainingTask.h index d75a43045..6166b4d42 100644 --- a/moses/TrainingTask.h +++ b/moses/TrainingTask.h @@ -5,7 +5,7 @@ #include "moses/ThreadPool.h" #include "moses/TranslationOptionCollection.h" #include "moses/IOWrapper.h" -#include "moses/TranslationTask.h" +#include "moses/TranslationTask.h" namespace Moses { @@ -17,17 +17,17 @@ class TrainingTask : public Moses::TranslationTask { protected: - TrainingTask(boost::shared_ptr<Moses::InputType> const source, + TrainingTask(boost::shared_ptr<Moses::InputType> const source, boost::shared_ptr<Moses::IOWrapper> const ioWrapper) - : TranslationTask(source, ioWrapper) + : TranslationTask(source, ioWrapper) { } - + public: // factory function - static boost::shared_ptr<TrainingTask> + static boost::shared_ptr<TrainingTask> create(boost::shared_ptr<InputType> const& source) - { + { boost::shared_ptr<IOWrapper> nix; boost::shared_ptr<TrainingTask> ret(new TrainingTask(source, nix)); ret->m_self = ret; @@ -35,8 +35,8 @@ public: } // factory function - static boost::shared_ptr<TrainingTask> - create(boost::shared_ptr<InputType> const& source, + static boost::shared_ptr<TrainingTask> + create(boost::shared_ptr<InputType> const& source, boost::shared_ptr<IOWrapper> const& ioWrapper) { boost::shared_ptr<TrainingTask> ret(new TrainingTask(source, ioWrapper)); @@ -44,7 +44,7 @@ public: return ret; } - ~TrainingTask() + ~TrainingTask() { } void Run() { @@ -52,7 +52,7 @@ public: std::cerr << *m_source << std::endl; - TranslationOptionCollection *transOptColl + TranslationOptionCollection *transOptColl = m_source->CreateTranslationOptionCollection(this->self()); transOptColl->CreateTranslationOptions(); delete transOptColl; |