From 211a72b6d77bb50c8d2440541e87dcd64b904b26 Mon Sep 17 00:00:00 2001 From: Tim Quatmann Date: Fri, 11 Dec 2020 17:36:43 +0100 Subject: [PATCH] fixing compilation of storm-pars --- src/storm/api/export.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/storm/api/export.h b/src/storm/api/export.h index c16adacf4..b1dbb6d21 100644 --- a/src/storm/api/export.h +++ b/src/storm/api/export.h @@ -64,7 +64,7 @@ namespace storm { } template - void exportCheckResultToJson(std::shared_ptr> const& model, std::unique_ptr const& checkResult, std::string const& filename) { + inline void exportCheckResultToJson(std::shared_ptr> const& model, std::unique_ptr const& checkResult, std::string const& filename) { std::ofstream stream; storm::utility::openFile(filename, stream); if (checkResult->isExplicitQualitativeCheckResult()) { @@ -77,7 +77,7 @@ namespace storm { } template <> - void exportCheckResultToJson(std::shared_ptr> const&, std::unique_ptr const&, std::string const&) { + inline void exportCheckResultToJson(std::shared_ptr> const&, std::unique_ptr const&, std::string const&) { STORM_LOG_THROW(false, storm::exceptions::NotSupportedException, "Export of check results is not supported for rational functions. "); }