postproc: default to an empty formula

* src/twaalgos/postproc.hh: Allow the formula not to be specified.  The
code already support that, as it is called with an explicit nullptr in
autfilt (for example), but not requiring the nullptr is better for the
Python bindings.
This commit is contained in:
Alexandre Duret-Lutz 2015-10-02 17:00:27 +02:00
parent 5e07e8384d
commit 2fa9c27534

View file

@ -99,7 +99,7 @@ namespace spot
///
/// The returned automaton might be a new automaton,
/// or an in-place modification of the \a input automaton.
twa_graph_ptr run(twa_graph_ptr input, formula f);
twa_graph_ptr run(twa_graph_ptr input, formula f = nullptr);
protected:
twa_graph_ptr do_simul(const twa_graph_ptr& input, int opt);