diff options
author | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-12-04 22:43:37 +0300 |
---|---|---|
committer | Ulrich Germann <Ulrich.Germann@gmail.com> | 2015-12-04 22:43:37 +0300 |
commit | 889a33dcd68fb234824519681868355333b717be (patch) | |
tree | 872a74dc090a964cdc0b79cf27bc6c4b844323d2 /moses/Sentence.h | |
parent | 4983aa098057eaf348792ae95160ae241e02c421 (diff) |
XmlOptions are now const within Sentence.
Diffstat (limited to 'moses/Sentence.h')
-rw-r--r-- | moses/Sentence.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moses/Sentence.h b/moses/Sentence.h index 6cd34ca1b..518350d24 100644 --- a/moses/Sentence.h +++ b/moses/Sentence.h @@ -52,7 +52,7 @@ protected: * Utility method that takes in a string representing an XML tag and the name of the attribute, * and returns the value of that tag if present, empty string otherwise */ - std::vector<XmlOption*> m_xmlOptions; + std::vector<XmlOption const*> m_xmlOptions; std::vector <bool> m_xmlCoverageMap; NonTerminalSet m_defaultLabelSet; |