diff options
author | Hieu Hoang <hieu@hoang.co.uk> | 2013-09-27 12:35:24 +0400 |
---|---|---|
committer | Hieu Hoang <hieu@hoang.co.uk> | 2013-09-27 12:35:24 +0400 |
commit | 31ce9b510e9a06e998ddddfbe92f0192cf7656b8 (patch) | |
tree | 3bfd084ffb9eb72abe1a560cee0be3b5dc0ace7b /moses/TargetPhraseCollection.cpp | |
parent | 13e1adf0002c00b84ff9735d5afddb7e0b73530e (diff) |
beautify
Diffstat (limited to 'moses/TargetPhraseCollection.cpp')
-rw-r--r-- | moses/TargetPhraseCollection.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/moses/TargetPhraseCollection.cpp b/moses/TargetPhraseCollection.cpp index 814544446..31dc98be8 100644 --- a/moses/TargetPhraseCollection.cpp +++ b/moses/TargetPhraseCollection.cpp @@ -29,14 +29,14 @@ namespace Moses { // helper for sort bool -CompareTargetPhrase:: -operator() (const TargetPhrase *a, const TargetPhrase *b) const +CompareTargetPhrase:: +operator() (const TargetPhrase *a, const TargetPhrase *b) const { return a->GetFutureScore() > b->GetFutureScore(); } -bool -CompareTargetPhrase:: +bool +CompareTargetPhrase:: operator() (const TargetPhrase &a, const TargetPhrase &b) const { return a.GetFutureScore() > b.GetFutureScore(); |