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:
Diffstat (limited to 'moses/TranslationModel/DynSAInclude/FileHandler.cpp')
-rw-r--r--moses/TranslationModel/DynSAInclude/FileHandler.cpp8
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 {