diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-03-27 02:38:58 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-03-27 02:38:58 +0300 |
commit | c7ad2571f5c574eb5d854a9a1847c6d633412f07 (patch) | |
tree | a0893bc143f869a946ae14a747a34e1a6c022b6b /moses | |
parent | e827896027298792ee4341b29dad617d0b8dc08c (diff) |
Making GetSource() in Manager and Basemanager virtual breaks one regression tests.
Diffstat (limited to 'moses')
-rw-r--r-- | moses/BaseManager.h | 2 | ||||
-rw-r--r-- | moses/Manager.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/moses/BaseManager.h b/moses/BaseManager.h index d2a4ba6ef..4e403238a 100644 --- a/moses/BaseManager.h +++ b/moses/BaseManager.h @@ -49,7 +49,7 @@ public: virtual ~BaseManager() { } //! the input sentence being decoded - virtual const InputType& GetSource() const; + const InputType& GetSource() const; virtual void Decode() = 0; // outputs diff --git a/moses/Manager.h b/moses/Manager.h index c611ef9dd..398d456c6 100644 --- a/moses/Manager.h +++ b/moses/Manager.h @@ -182,7 +182,7 @@ public: void OutputSearchGraphAsHypergraph(std::ostream &outputSearchGraphStream) const; void GetSearchGraph(std::vector<SearchGraphNode>& searchGraph) const; - virtual const InputType& GetSource() const; + const InputType& GetSource() const; /*** * to be called after processing a sentence (which may consist of more than just calling ProcessSentence() ) |