value - fix typo (up-cast value_bool to value_double in operator==())

This commit is contained in:
artemp 2015-10-30 14:48:10 +00:00
parent f3bed3a627
commit 2366eaf2f5

View file

@ -100,7 +100,7 @@ struct equals
bool operator() (value_double lhs, value_bool rhs) const 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, bool operator() (value_unicode_string const& lhs,