Commit 4d226260 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

formula: is_literal should be const

Reported by Ayrat Khalimov.

* spot/tl/formula.hh (is_literal): Mark as const.
parent 8ffd06e9
Pipeline #31729 passed with stages
in 192 minutes and 49 seconds
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment