diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2015-05-13 13:29:16 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2015-05-13 13:29:16 +0300 |
commit | 5173b9f6172cb695461b00826da935c2b2907c78 (patch) | |
tree | 1e39253453f4eef9934f5df5f342ade079fea9ed /moses/InputType.h | |
parent | 0859e9a844cc23ff04b09b4ac3d580da9197d1a1 (diff) |
beautify. Add sed for trailing spaces
Diffstat (limited to 'moses/InputType.h')
-rw-r--r-- | moses/InputType.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/moses/InputType.h b/moses/InputType.h index 398af0cbf..655823a3f 100644 --- a/moses/InputType.h +++ b/moses/InputType.h @@ -173,13 +173,16 @@ public: //! number of words in this sentence/confusion network virtual size_t GetSize() const =0; - virtual boost::shared_ptr<std::string> const& - GetContext() const { return m_context; } - - virtual void - SetContext(boost::shared_ptr<std::string> const& ctx) - { m_context = ctx; } - + virtual boost::shared_ptr<std::string> const& + GetContext() const { + return m_context; + } + + virtual void + SetContext(boost::shared_ptr<std::string> const& ctx) { + m_context = ctx; + } + //! populate this InputType with data from in stream virtual int Read(std::istream& in,const std::vector<FactorType>& factorOrder) =0; |