* src/twa/acc.hh (mark_t::clear): New method.
This commit is contained in:
parent
6e32b65875
commit
ec49398e84
1 changed files with 5 additions and 0 deletions
|
|
@ -113,6 +113,11 @@ namespace spot
|
|||
id |= (1U << u);
|
||||
}
|
||||
|
||||
void clear(unsigned u)
|
||||
{
|
||||
id &= ~(1U << u);
|
||||
}
|
||||
|
||||
mark_t& operator&=(mark_t r)
|
||||
{
|
||||
id &= r.id;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue