Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2015-10-16 15:53:33 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-10-16 15:53:33 +0300
commit786258cb288e0711a2614bfd36d5ec83353ab5c2 (patch)
treefd7d35c8d21552c9c56ea0b5de98495ab734d5ba /moses/FF/DistortionScoreProducer.cpp
parentb9dcb55be22f9a5d229b817827d0ee02c82d311e (diff)
beautify
Diffstat (limited to 'moses/FF/DistortionScoreProducer.cpp')
-rw-r--r--moses/FF/DistortionScoreProducer.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/moses/FF/DistortionScoreProducer.cpp b/moses/FF/DistortionScoreProducer.cpp
index be0684fc6..9b696e9ce 100644
--- a/moses/FF/DistortionScoreProducer.cpp
+++ b/moses/FF/DistortionScoreProducer.cpp
@@ -21,15 +21,13 @@ struct DistortionState_traditional : public FFState {
return 0;
}
- size_t hash() const
- {
- return range.GetEndPos();
+ size_t hash() const {
+ return range.GetEndPos();
}
- virtual bool operator==(const FFState& other) const
- {
+ virtual bool operator==(const FFState& other) const {
const DistortionState_traditional& o =
static_cast<const DistortionState_traditional&>(other);
- return range.GetEndPos() == o.range.GetEndPos();
+ return range.GetEndPos() == o.range.GetEndPos();
}
};