Minor API changes to analyzers.

This commit is contained in:
Robin Sommer 2013-11-26 11:22:23 -08:00
parent d34f23c8d4
commit d727af097b
6 changed files with 27 additions and 12 deletions

View file

@ -644,12 +644,12 @@ void Analyzer::FlipRoles()
resp_supporters = tmp;
}
void Analyzer::ProtocolConfirmation()
void Analyzer::ProtocolConfirmation(Tag arg_tag)
{
if ( protocol_confirmed )
return;
EnumVal* tval = tag.AsEnumVal();
EnumVal* tval = arg_tag ? arg_tag.AsEnumVal() : tag.AsEnumVal();
Ref(tval);
val_list* vl = new val_list;