From c61bdfd9f1f63afe732d5500a99a2c51084733ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Fri, 20 May 2016 16:53:14 +0200 Subject: [PATCH] Unified parsing of Boolean variable. --- src/plasp/sas/Description.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plasp/sas/Description.cpp b/src/plasp/sas/Description.cpp index 29f4d66..31bec22 100644 --- a/src/plasp/sas/Description.cpp +++ b/src/plasp/sas/Description.cpp @@ -265,7 +265,7 @@ void Description::parseMetricSection(std::istream &istream) { parseSectionIdentifier(istream, "begin_metric"); - istream >> m_usesActionCosts; + m_usesActionCosts = parse(istream); parseSectionIdentifier(istream, "end_metric"); }