mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user