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:
authorHieu Hoang <hieuhoang@gmail.com>2015-05-13 13:29:16 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-05-13 13:29:16 +0300
commit5173b9f6172cb695461b00826da935c2b2907c78 (patch)
tree1e39253453f4eef9934f5df5f342ade079fea9ed /moses/InputType.h
parent0859e9a844cc23ff04b09b4ac3d580da9197d1a1 (diff)
beautify. Add sed for trailing spaces
Diffstat (limited to 'moses/InputType.h')
-rw-r--r--moses/InputType.h17
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;