mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
value - fix typo (up-cast value_bool to value_double in operator==())
This commit is contained in:
parent
f3bed3a627
commit
2366eaf2f5
@ -100,7 +100,7 @@ struct equals
|
||||
|
||||
bool operator() (value_double lhs, value_bool rhs) const
|
||||
{
|
||||
return static_cast<value_double>(lhs) == rhs;
|
||||
return lhs == static_cast<value_double>(rhs);
|
||||
}
|
||||
|
||||
bool operator() (value_unicode_string const& lhs,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user