building spot::acc_cond::mark_t from unsigned is deprecated
* spot/twa/acc.hh: here
This commit is contained in:
parent
17532163d2
commit
f4476e78c8
1 changed files with 13 additions and 0 deletions
|
|
@ -66,6 +66,19 @@ namespace spot
|
|||
{
|
||||
}
|
||||
|
||||
SPOT_DEPRECATED("use brace initialization instead")
|
||||
mark_t(unsigned i)
|
||||
{
|
||||
unsigned j = 0;
|
||||
while (i)
|
||||
{
|
||||
if (i & 1U)
|
||||
this->set(j);
|
||||
++j;
|
||||
i >>= 1;
|
||||
}
|
||||
}
|
||||
|
||||
static mark_t all()
|
||||
{
|
||||
mark_t res({});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue