formatting
This commit is contained in:
parent
36516c00e2
commit
43d646c759
1 changed files with 2 additions and 1 deletions
|
@ -104,7 +104,8 @@ inline boost::optional<expression_ptr> fast_cast(xml_tree const& tree, std::stri
|
|||
if (expression_factory::parse_from_string(expr, value, tree.expr_grammar))
|
||||
{
|
||||
return expr;
|
||||
} else
|
||||
}
|
||||
else
|
||||
{
|
||||
throw mapnik::config_error("Failed to parse expression '" + value + "'");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue