diff options
author | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-05-05 13:51:12 +0400 |
---|---|---|
committer | Tetsuo Kiso <tetsuo-s@is.naist.jp> | 2012-05-05 13:51:12 +0400 |
commit | 857398dfbd1b7470cf7a8c70ff04a273274827d6 (patch) | |
tree | faf2ff9fe10082da6b9ca35f355a54ace75b6eb4 /moses | |
parent | f8d88920a1e0b2487429624f4a2c07ea717ee2aa (diff) |
Fix warnings: -Wreorder and -Wmismatched-tags.
Diffstat (limited to 'moses')
-rw-r--r-- | moses/src/Scope3Parser/VarSpanTrieBuilder.h | 4 | ||||
-rw-r--r-- | moses/src/TargetPhrase.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/moses/src/Scope3Parser/VarSpanTrieBuilder.h b/moses/src/Scope3Parser/VarSpanTrieBuilder.h index 76063af34..cad0e1b2c 100644 --- a/moses/src/Scope3Parser/VarSpanTrieBuilder.h +++ b/moses/src/Scope3Parser/VarSpanTrieBuilder.h @@ -27,8 +27,8 @@ namespace Moses { -class ApplicableRuleTrie; -class VarSpanNode; +struct ApplicableRuleTrie; +struct VarSpanNode; class VarSpanTrieBuilder { diff --git a/moses/src/TargetPhrase.h b/moses/src/TargetPhrase.h index 1e1c74d24..d291ed0ce 100644 --- a/moses/src/TargetPhrase.h +++ b/moses/src/TargetPhrase.h @@ -51,10 +51,11 @@ protected: float m_transScore; float m_fullScore; ScoreComponentCollection m_scoreBreakdown; - const AlignmentInfo *m_alignmentInfo; // in case of confusion net, ptr to source phrase Phrase const* m_sourcePhrase; + + const AlignmentInfo *m_alignmentInfo; Word m_lhsTarget; public: |