fix some g++-snapshot warnings
* spot/twaalgos/couvreurnew.cc: explicit operator bool is not used by return.
This commit is contained in:
parent
7c8d52640e
commit
a55801c223
1 changed files with 2 additions and 2 deletions
|
|
@ -613,14 +613,14 @@ namespace spot
|
|||
}
|
||||
|
||||
// Handy cast operators.
|
||||
// Note that a pointer can be cast to a Boolean as usual.
|
||||
operator bool() const
|
||||
{
|
||||
if (tag == BOOL)
|
||||
return res;
|
||||
else
|
||||
return ecr;
|
||||
return !!ecr;
|
||||
}
|
||||
|
||||
operator emptiness_check_result_ptr() const
|
||||
{
|
||||
if (tag == PTR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue