Unified parsing of Boolean variable.
This commit is contained in:
parent
8883613d18
commit
c61bdfd9f1
@ -265,7 +265,7 @@ void Description::parseMetricSection(std::istream &istream)
|
||||
{
|
||||
parseSectionIdentifier(istream, "begin_metric");
|
||||
|
||||
istream >> m_usesActionCosts;
|
||||
m_usesActionCosts = parse<bool>(istream);
|
||||
|
||||
parseSectionIdentifier(istream, "end_metric");
|
||||
}
|
||||
|
Reference in New Issue
Block a user