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 <fishandfrolick@gmail.com>2012-12-21 19:59:52 +0400
committerHieu Hoang <fishandfrolick@gmail.com>2012-12-21 19:59:52 +0400
commit17898a9df3a211bcedbb0e17fe065af72d281f81 (patch)
tree3169dd3e6258bb9da9a5163ea5671d0175397590 /moses/ChartManager.cpp
parentea647fc65895caa8cb8765fb02fbfa5546c9daf7 (diff)
move initialization and cleanup functions to staticData
Diffstat (limited to 'moses/ChartManager.cpp')
-rw-r--r--moses/ChartManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/ChartManager.cpp b/moses/ChartManager.cpp
index 2103515e3..30d22eff4 100644
--- a/moses/ChartManager.cpp
+++ b/moses/ChartManager.cpp
@@ -57,7 +57,7 @@ ChartManager::ChartManager(InputType const& source, const TranslationSystem* sys
ChartManager::~ChartManager()
{
- m_system->CleanUpAfterSentenceProcessing(m_source);
+ StaticData::Instance().CleanUpAfterSentenceProcessing(m_source);
clock_t end = clock();
float et = (end - m_start);