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-10-18 14:41:36 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-10-18 14:41:36 +0300
commitb7d947ebf69ea04c8cf4092f23a8689fd0f37b0e (patch)
treee4f77ef21e0374cd98dafe74ebb369ffffcb0770 /moses/Incremental.cpp
parentf2960786074fcb0e7f91bfeebf29a00898745e38 (diff)
change dynamic to static cast
Diffstat (limited to 'moses/Incremental.cpp')
-rw-r--r--moses/Incremental.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/Incremental.cpp b/moses/Incremental.cpp
index d1eb3b532..f466a54e0 100644
--- a/moses/Incremental.cpp
+++ b/moses/Incremental.cpp
@@ -450,7 +450,7 @@ void Manager::OutputDetailedTreeFragmentsTranslationReport(OutputCollector *coll
}
const search::Applied *applied = &Completed()[0];
- const Sentence &sentence = dynamic_cast<const Sentence &>(m_source);
+ const Sentence &sentence = static_cast<const Sentence &>(m_source);
const size_t translationId = m_source.GetTranslationId();
std::ostringstream out;