Merge branch 'master' into enable-appveyor

This commit is contained in:
bergwerkgis 2015-09-21 16:01:36 +00:00
commit 38498fdbe7

View file

@ -76,32 +76,32 @@ struct equals
{
bool operator() (value_integer lhs, value_double rhs) const
{
return lhs == rhs;
return lhs == static_cast<value_integer>(rhs);
}
bool operator() (value_bool lhs, value_double rhs) const
{
return lhs == rhs;
return lhs == static_cast<value_bool>(rhs);
}
bool operator() (value_double lhs, value_integer rhs) const
{
return lhs == rhs;
return lhs == static_cast<value_double>(rhs);
}
bool operator() (value_bool lhs, value_integer rhs) const
{
return lhs == rhs;
return lhs == static_cast<value_bool>(rhs);
}
bool operator() (value_integer lhs, value_bool rhs) const
{
return lhs == rhs;
return lhs == static_cast<value_integer>(rhs);
}
bool operator() (value_double lhs, value_bool rhs) const
{
return lhs == rhs;
return lhs == static_cast<value_double>(rhs);
}
bool operator() (value_unicode_string const& lhs,
@ -145,27 +145,27 @@ struct not_equals
bool operator() (value_bool lhs, value_double rhs) const
{
return lhs != rhs;
return lhs != static_cast<value_bool>(rhs);
}
bool operator() (value_double lhs, value_integer rhs) const
{
return lhs != rhs;
return lhs != static_cast<value_double>(rhs);
}
bool operator() (value_bool lhs, value_integer rhs) const
{
return lhs != rhs;
return lhs != static_cast<value_bool>(rhs);
}
bool operator() (value_integer lhs, value_bool rhs) const
{
return lhs != rhs;
return lhs != static_cast<value_integer>(rhs);
}
bool operator() (value_double lhs, value_bool rhs) const
{
return lhs != rhs;
return lhs != static_cast<value_double>(rhs);
}
bool operator() (value_unicode_string const& lhs,