diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-18 14:41:36 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-10-18 14:41:36 +0300 |
commit | b7d947ebf69ea04c8cf4092f23a8689fd0f37b0e (patch) | |
tree | e4f77ef21e0374cd98dafe74ebb369ffffcb0770 /moses/Incremental.cpp | |
parent | f2960786074fcb0e7f91bfeebf29a00898745e38 (diff) |
change dynamic to static cast
Diffstat (limited to 'moses/Incremental.cpp')
-rw-r--r-- | moses/Incremental.cpp | 2 |
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; |