diff options
author | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-06-02 12:02:39 +0300 |
---|---|---|
committer | Jeroen Vermeulen <jtv@precisiontranslationtools.com> | 2015-06-02 12:02:39 +0300 |
commit | 0981d2370505672d027d0f6e17890fb36286c439 (patch) | |
tree | f379a501e9100efe30114141f09144131a0cf6ff /moses/IOWrapper.cpp | |
parent | 35cf55d4d25eaff8c99a6467e7fc923f35ac7aa7 (diff) |
Lint-fixing binge.
Diffstat (limited to 'moses/IOWrapper.cpp')
-rw-r--r-- | moses/IOWrapper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/moses/IOWrapper.cpp b/moses/IOWrapper.cpp index 8cbf4f091..d1bdeb44f 100644 --- a/moses/IOWrapper.cpp +++ b/moses/IOWrapper.cpp @@ -303,10 +303,10 @@ ReadInput() boost::lock_guard<boost::mutex> lock(m_lock); #endif boost::shared_ptr<InputType> source = GetBufferedInput(); - if (source) + if (source) { source->SetTranslationId(m_currentLine++); - if (m_look_ahead || m_look_back) + if (m_look_ahead || m_look_back) this->set_context_for(*source); } m_past_input.push_back(source); |