From 2366eaf2f50f9a0e65027368dfbfcd3b2cac0604 Mon Sep 17 00:00:00 2001 From: artemp Date: Fri, 30 Oct 2015 14:48:10 +0000 Subject: [PATCH] value - fix typo (up-cast value_bool to value_double in operator==()) --- include/mapnik/value.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mapnik/value.hpp b/include/mapnik/value.hpp index 1041d948a..a1b635368 100644 --- a/include/mapnik/value.hpp +++ b/include/mapnik/value.hpp @@ -100,7 +100,7 @@ struct equals bool operator() (value_double lhs, value_bool rhs) const { - return static_cast(lhs) == rhs; + return lhs == static_cast(rhs); } bool operator() (value_unicode_string const& lhs,