mirror of https://github.com/Icinga/icinga2.git
Fix incorrect operator in Value::operator^
This commit is contained in:
parent
79a69d3e89
commit
1bcc1a7b92
|
@ -425,22 +425,22 @@ Value icinga::operator^(const Value& lhs, const Value& rhs)
|
|||
|
||||
Value icinga::operator^(const Value& lhs, double rhs)
|
||||
{
|
||||
return lhs & Value(rhs);
|
||||
return lhs ^ Value(rhs);
|
||||
}
|
||||
|
||||
Value icinga::operator^(double lhs, const Value& rhs)
|
||||
{
|
||||
return Value(lhs) & rhs;
|
||||
return Value(lhs) ^ rhs;
|
||||
}
|
||||
|
||||
Value icinga::operator^(const Value& lhs, int rhs)
|
||||
{
|
||||
return lhs & Value(rhs);
|
||||
return lhs ^ Value(rhs);
|
||||
}
|
||||
|
||||
Value icinga::operator^(int lhs, const Value& rhs)
|
||||
{
|
||||
return Value(lhs) & rhs;
|
||||
return Value(lhs) ^ rhs;
|
||||
}
|
||||
|
||||
Value icinga::operator&(const Value& lhs, const Value& rhs)
|
||||
|
|
Loading…
Reference in New Issue