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:
authorHieu Hoang <hieuhoang@gmail.com>2015-01-14 14:07:42 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-01-14 14:07:42 +0300
commit05ead45e71916c5763c5c4b6375e2ca6838f3995 (patch)
treec279bd4aacfb31758720ffbaf5aaf62022574a52 /moses/TranslationTask.cpp
parent91cb549ccf09fc33122f3d531f47c38ad0e99b3d (diff)
beautify
Diffstat (limited to 'moses/TranslationTask.cpp')
-rw-r--r--moses/TranslationTask.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/moses/TranslationTask.cpp b/moses/TranslationTask.cpp
index f9a559a83..6e95a1368 100644
--- a/moses/TranslationTask.cpp
+++ b/moses/TranslationTask.cpp
@@ -21,11 +21,12 @@ namespace Moses
{
TranslationTask::TranslationTask(InputType* source, Moses::IOWrapper &ioWrapper)
-: m_source(source)
-, m_ioWrapper(ioWrapper)
+ : m_source(source)
+ , m_ioWrapper(ioWrapper)
{}
-TranslationTask::~TranslationTask() {
+TranslationTask::~TranslationTask()
+{
delete m_source;
}