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:
authorUlrich Germann <Ulrich.Germann@gmail.com>2015-12-04 22:43:37 +0300
committerUlrich Germann <Ulrich.Germann@gmail.com>2015-12-04 22:43:37 +0300
commit889a33dcd68fb234824519681868355333b717be (patch)
tree872a74dc090a964cdc0b79cf27bc6c4b844323d2 /moses/Sentence.h
parent4983aa098057eaf348792ae95160ae241e02c421 (diff)
XmlOptions are now const within Sentence.
Diffstat (limited to 'moses/Sentence.h')
-rw-r--r--moses/Sentence.h2
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;