formula: is_literal should be const

Reported by Ayrat Khalimov.

* spot/tl/formula.hh (is_literal): Mark as const.
This commit is contained in:
Alexandre Duret-Lutz 2021-12-02 17:31:47 +01:00
parent 8ffd06e9a6
commit 4d2262600e

View file

@ -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