Commit d8419db6 authored by Maximilien Colange's avatar Maximilien Colange Committed by Alexandre Duret-Lutz
Browse files

* spot/twa/acc.hh: fix constness

parent 483b05c5
......@@ -729,14 +729,14 @@ namespace spot
return *this;
}
acc_code operator&(const acc_code& r)
acc_code operator&(const acc_code& r) const
{
acc_code res = *this;
res &= r;
return res;
}
acc_code operator&(acc_code&& r)
acc_code operator&(acc_code&& r) const
{
acc_code res = *this;
res &= r;
......@@ -829,14 +829,14 @@ namespace spot
return *this;
}
acc_code operator|(acc_code&& r)
acc_code operator|(acc_code&& r) const
{
acc_code res = *this;
res |= r;
return res;
}
acc_code operator|(const acc_code& r)
acc_code operator|(const acc_code& r) const
{
acc_code res = *this;
res |= r;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment