* spot/twa/acc.hh: fix constness
This commit is contained in:
parent
483b05c550
commit
d8419db618
1 changed files with 4 additions and 4 deletions
|
|
@ -729,14 +729,14 @@ namespace spot
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
acc_code operator&(const acc_code& r)
|
acc_code operator&(const acc_code& r) const
|
||||||
{
|
{
|
||||||
acc_code res = *this;
|
acc_code res = *this;
|
||||||
res &= r;
|
res &= r;
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
acc_code operator&(acc_code&& r)
|
acc_code operator&(acc_code&& r) const
|
||||||
{
|
{
|
||||||
acc_code res = *this;
|
acc_code res = *this;
|
||||||
res &= r;
|
res &= r;
|
||||||
|
|
@ -829,14 +829,14 @@ namespace spot
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
acc_code operator|(acc_code&& r)
|
acc_code operator|(acc_code&& r) const
|
||||||
{
|
{
|
||||||
acc_code res = *this;
|
acc_code res = *this;
|
||||||
res |= r;
|
res |= r;
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
acc_code operator|(const acc_code& r)
|
acc_code operator|(const acc_code& r) const
|
||||||
{
|
{
|
||||||
acc_code res = *this;
|
acc_code res = *this;
|
||||||
res |= r;
|
res |= r;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue