Merge branch 'master' into enable-appveyor
This commit is contained in:
commit
38498fdbe7
1 changed files with 11 additions and 11 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue