Explicit bool conversion in isRecognizedKeyword

This commit is contained in:
Jørgen Kvalsvik
2016-10-06 13:08:53 +02:00
parent a51127f0c8
commit db66f0302c

View File

@@ -679,7 +679,7 @@ bool parseState( ParserState& parserState, const Parser& parser ) {
if( m_deckParserKeywords.count( name ) )
return true;
return matchingKeyword( name );
return bool( matchingKeyword( name ) );
}
void Parser::addParserKeyword( std::unique_ptr< const ParserKeyword >&& parserKeyword) {