mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
+ add specialization for bool in to_expression_string()
This commit is contained in:
parent
304538bcf3
commit
666ff418dc
@ -611,6 +611,11 @@ struct to_expression_string : public boost::static_visitor<std::string>
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
std::string operator() (bool val) const
|
||||
{
|
||||
return val ? "true":"false";
|
||||
}
|
||||
|
||||
std::string operator() (value_null const& val) const
|
||||
{
|
||||
boost::ignore_unused_variable_warning(val);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user