diff --git a/src/storm/cli/cli.cpp b/src/storm/cli/cli.cpp index 6256a7574..fbe145089 100644 --- a/src/storm/cli/cli.cpp +++ b/src/storm/cli/cli.cpp @@ -615,8 +615,14 @@ namespace storm { } } + struct PostprocessingIdentity { + void operator()(std::unique_ptr const&) { + // Intentionally left empty. + } + }; + template - void verifyProperties(std::vector const& properties, std::function(std::shared_ptr const& formula)> const& verificationCallback, std::function const&)> const& postprocessingCallback = [](std::unique_ptr const&){}) { + void verifyProperties(std::vector const& properties, std::function(std::shared_ptr const& formula)> const& verificationCallback, std::function const&)> const& postprocessingCallback = PostprocessingIdentity()) { for (auto const& property : properties) { printModelCheckingProperty(property); storm::utility::Stopwatch watch(true);