formula: is_literal should be const
Reported by Ayrat Khalimov. * spot/tl/formula.hh (is_literal): Mark as const.
This commit is contained in:
parent
8ffd06e9a6
commit
4d2262600e
1 changed files with 1 additions and 1 deletions
|
|
@ -1557,7 +1557,7 @@ namespace spot
|
|||
|
||||
/// \brief Whether the formula is an atomic proposition or its
|
||||
/// negation.
|
||||
bool is_literal()
|
||||
bool is_literal() const
|
||||
{
|
||||
return (is(op::ap) ||
|
||||
// If f is in nenoform, Not can only occur in front of
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue