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-11-05 14:36:21 +0300
committerHieu Hoang <hieuhoang@gmail.com>2015-11-05 14:36:21 +0300
commit6b35fd31089bc6ba11e10be88fe5885898bc8272 (patch)
tree41271fcaed78016b9d388b74fdf25c2aa706cf53 /moses/Range.h
parentbefd1a4ebb1ad0a19bb51185a5391fb6fea86bdd (diff)
non-initialised default constructor
Diffstat (limited to 'moses/Range.h')
-rw-r--r--moses/Range.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/moses/Range.h b/moses/Range.h
index 52a201005..a86815435 100644
--- a/moses/Range.h
+++ b/moses/Range.h
@@ -45,6 +45,7 @@ class Range
// m_endPos is inclusive
size_t m_startPos, m_endPos;
public:
+ inline Range() {}
inline Range(size_t startPos, size_t endPos) : m_startPos(startPos), m_endPos(endPos) {}
inline Range(const Range &copy)
: m_startPos(copy.GetStartPos())