From cf79c053f93896751a3d43e0c365f97cff72221c Mon Sep 17 00:00:00 2001 From: dehnert Date: Wed, 14 Jun 2017 16:49:33 +0200 Subject: [PATCH] replaced lambda default argument by Functor to make gcc 6.3 happy --- src/storm/cli/cli.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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);