Make mutable MessageContainer member, recover the const qualifier for deck.

This commit is contained in:
Liu Ming
2016-04-25 16:25:15 +08:00
parent 5720192314
commit 59c6569a78
6 changed files with 8 additions and 14 deletions

View File

@@ -598,7 +598,7 @@ bool Parser::parseState(std::shared_ptr<ParserState> parserState) const {
return false;
}
bool Section::checkSectionTopology(Deck& deck,
bool Section::checkSectionTopology(const Deck& deck,
const Parser& parser,
bool ensureKeywordSectionAffiliation)
{