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-01-14 14:07:42 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-01-14 14:07:42 +0300
commit05ead45e71916c5763c5c4b6375e2ca6838f3995 (patch)
treec279bd4aacfb31758720ffbaf5aaf62022574a52 /phrase-extract/consolidate-direct-main.cpp
parent91cb549ccf09fc33122f3d531f47c38ad0e99b3d (diff)
beautify
Diffstat (limited to 'phrase-extract/consolidate-direct-main.cpp')
-rw-r--r--phrase-extract/consolidate-direct-main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/phrase-extract/consolidate-direct-main.cpp b/phrase-extract/consolidate-direct-main.cpp
index 40e0e35d4..576cdd568 100644
--- a/phrase-extract/consolidate-direct-main.cpp
+++ b/phrase-extract/consolidate-direct-main.cpp
@@ -54,13 +54,12 @@ bool getLine( istream &fileP, vector< string > &item )
{
if (fileP.eof())
return false;
-
+
string line;
if (getline(fileP, line)) {
item = splitLine(line.c_str());
return false;
- }
- else {
+ } else {
return false;
}
}