diff options
author | Nicola Bertoldi <bertoldi@fbk.eu> | 2014-01-15 19:49:57 +0400 |
---|---|---|
committer | Nicola Bertoldi <bertoldi@fbk.eu> | 2014-01-15 19:49:57 +0400 |
commit | e452a13062400b09ff95af971c1424ac34cf1930 (patch) | |
tree | 11b52a2f1228f4e64fb31d061d7e564970140fd7 /moses/TranslationModel/DynSAInclude/FileHandler.cpp | |
parent | bd83999264407dd7970736ee3e70a6b39fb19014 (diff) |
beautify
Diffstat (limited to 'moses/TranslationModel/DynSAInclude/FileHandler.cpp')
-rw-r--r-- | moses/TranslationModel/DynSAInclude/FileHandler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/moses/TranslationModel/DynSAInclude/FileHandler.cpp b/moses/TranslationModel/DynSAInclude/FileHandler.cpp index 4e92ad907..5f9cd7c45 100644 --- a/moses/TranslationModel/DynSAInclude/FileHandler.cpp +++ b/moses/TranslationModel/DynSAInclude/FileHandler.cpp @@ -71,13 +71,13 @@ bool FileHandler::setStreamBuffer(bool checkExists) { // redirect stdin or stdout if necesary if (path_ == FileHandler::kStdInDescriptor) { - UTIL_THROW_IF2(flags_ & std::ios::in == 0, - "Incorrect flags: " << flags_); + UTIL_THROW_IF2(flags_ & std::ios::in == 0, + "Incorrect flags: " << flags_); std::streambuf* sb = std::cin.rdbuf(); buffer_ = sb; } else if (path_ == FileHandler::kStdOutDescriptor) { - UTIL_THROW_IF2(flags_ & std::ios::out == 0, - "Incorrect flags: " << flags_); + UTIL_THROW_IF2(flags_ & std::ios::out == 0, + "Incorrect flags: " << flags_); std::streambuf* sb = std::cout.rdbuf(); buffer_ = sb; } else { |