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-02-19 15:27:23 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-02-19 15:27:23 +0300
commit32de07502217879f0d354ec810c8e669f4d45d3c (patch)
treefafdf8f63d9902e4fd2b45f05902faa5d65df996 /moses/WordsBitmap.h
parent6d4bad0f78ede5bcf7eaaea1de584f42bce8e91f (diff)
beautify
Diffstat (limited to 'moses/WordsBitmap.h')
-rw-r--r--moses/WordsBitmap.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/moses/WordsBitmap.h b/moses/WordsBitmap.h
index 08567330d..44cf147f4 100644
--- a/moses/WordsBitmap.h
+++ b/moses/WordsBitmap.h
@@ -143,16 +143,16 @@ public:
m_bitmap[pos] = value;
}
//! set value between 2 positions, inclusive
- void
- SetValue( size_t startPos, size_t endPos, bool value )
- {
- for(size_t pos = startPos ; pos <= endPos ; pos++)
+ void
+ SetValue( size_t startPos, size_t endPos, bool value ) {
+ for(size_t pos = startPos ; pos <= endPos ; pos++)
m_bitmap[pos] = value;
}
- void
- SetValue(WordsRange const& range, bool val)
- { SetValue(range.GetStartPos(), range.GetEndPos(), val); }
+ void
+ SetValue(WordsRange const& range, bool val) {
+ SetValue(range.GetStartPos(), range.GetEndPos(), val);
+ }
//! whether every word has been translated
bool IsComplete() const {