diff options
author | Nicola Bertoldi <bertoldi@fbk.eu> | 2014-06-08 11:44:59 +0400 |
---|---|---|
committer | Nicola Bertoldi <bertoldi@fbk.eu> | 2014-06-08 11:44:59 +0400 |
commit | 1fe4eb0528dee1e896716675bae13bd15d6fe1ac (patch) | |
tree | a7009dbde77a0fd2fe97a2d9c352d26a32bffcc1 /moses/PP | |
parent | 4d75c889f1e2fe3dd063525bdbbe516a9d71f579 (diff) |
beautify
Diffstat (limited to 'moses/PP')
-rw-r--r-- | moses/PP/Factory.cpp | 14 | ||||
-rw-r--r-- | moses/PP/PhraseProperty.h | 6 |
2 files changed, 11 insertions, 9 deletions
diff --git a/moses/PP/Factory.cpp b/moses/PP/Factory.cpp index 61e96a7f2..42e4f5ea7 100644 --- a/moses/PP/Factory.cpp +++ b/moses/PP/Factory.cpp @@ -78,13 +78,13 @@ boost::shared_ptr<PhraseProperty> PhrasePropertyFactory::ProduceProperty(const s void PhrasePropertyFactory::PrintPP() const { - std::cerr << "Registered phrase properties:" << std::endl; - Registry::const_iterator iter; - for (iter = m_registry.begin(); iter != m_registry.end(); ++iter) { - const std::string &ppName = iter->first; - std::cerr << ppName << " "; - } - std::cerr << std::endl; + std::cerr << "Registered phrase properties:" << std::endl; + Registry::const_iterator iter; + for (iter = m_registry.begin(); iter != m_registry.end(); ++iter) { + const std::string &ppName = iter->first; + std::cerr << ppName << " "; + } + std::cerr << std::endl; } } // namespace Moses diff --git a/moses/PP/PhraseProperty.h b/moses/PP/PhraseProperty.h index b977787b2..6889afa10 100644 --- a/moses/PP/PhraseProperty.h +++ b/moses/PP/PhraseProperty.h @@ -15,11 +15,13 @@ public: virtual void ProcessValue() {}; - const std::string &GetValueString() { return m_value; }; + const std::string &GetValueString() { + return m_value; + }; protected: - const std::string m_value; + const std::string m_value; }; |