diff options
author | Nicola Bertoldi <bertoldi@fbk.eu> | 2014-01-15 19:42:02 +0400 |
---|---|---|
committer | Nicola Bertoldi <bertoldi@fbk.eu> | 2014-01-15 19:42:02 +0400 |
commit | bd83999264407dd7970736ee3e70a6b39fb19014 (patch) | |
tree | 1a0a0d9bab2b8caf853c301187beb637b0a1af61 /moses/TargetPhraseCollection.h | |
parent | a098550f33dd1eead0e72a98a4822ce924841550 (diff) |
beautify
Diffstat (limited to 'moses/TargetPhraseCollection.h')
-rw-r--r-- | moses/TargetPhraseCollection.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/moses/TargetPhraseCollection.h b/moses/TargetPhraseCollection.h index 3ed10db41..aae22d82a 100644 --- a/moses/TargetPhraseCollection.h +++ b/moses/TargetPhraseCollection.h @@ -72,15 +72,14 @@ public: //! delete an entry from the collection void Remove(const size_t pos) { - if (pos < m_collection.size()) - { + if (pos < m_collection.size()) { m_collection.erase(begin() + pos); } } //! return an entry of the collection const TargetPhrase* GetTargetPhrase(const size_t pos) const { - return m_collection[pos]; + return m_collection[pos]; } //! divide collection into 2 buckets using std::nth_element, the top & bottom according to table limit |