diff options
Diffstat (limited to 'moses/Syntax/T2S/RuleTrie.cpp')
-rw-r--r-- | moses/Syntax/T2S/RuleTrie.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/moses/Syntax/T2S/RuleTrie.cpp b/moses/Syntax/T2S/RuleTrie.cpp index e6fc5214c..fb5ae7108 100644 --- a/moses/Syntax/T2S/RuleTrie.cpp +++ b/moses/Syntax/T2S/RuleTrie.cpp @@ -76,15 +76,15 @@ GetOrCreateNonTerminalChild(const Word &targetNonTerm) return &m_nonTermMap[targetNonTerm]; } -TargetPhraseCollection::shared_ptr +TargetPhraseCollection::shared_ptr RuleTrie:: Node:: GetOrCreateTargetPhraseCollection(const Word &sourceLHS) { UTIL_THROW_IF2(!sourceLHS.IsNonTerminal(), "Not a non-terminal: " << sourceLHS); - TargetPhraseCollection::shared_ptr& foo - = m_targetPhraseCollections[sourceLHS]; + TargetPhraseCollection::shared_ptr& foo + = m_targetPhraseCollections[sourceLHS]; if (!foo) foo.reset(new TargetPhraseCollection); return foo; } @@ -110,7 +110,7 @@ GetNonTerminalChild(const Word &targetNonTerm) const return (p == m_nonTermMap.end()) ? NULL : &p->second; } -TargetPhraseCollection::shared_ptr +TargetPhraseCollection::shared_ptr RuleTrie:: GetOrCreateTargetPhraseCollection ( const Word &sourceLHS, const Phrase &sourceRHS ) |