From ede5f56e5a769d893d36789e31a4381f354fb5af Mon Sep 17 00:00:00 2001 From: Lanchid Date: Fri, 7 Dec 2012 11:30:31 +0100 Subject: [PATCH] Set model checker in copy constructor as const. --- src/modelChecker/DtmcPrctlModelChecker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modelChecker/DtmcPrctlModelChecker.h b/src/modelChecker/DtmcPrctlModelChecker.h index 83e29e38b..72faaef68 100644 --- a/src/modelChecker/DtmcPrctlModelChecker.h +++ b/src/modelChecker/DtmcPrctlModelChecker.h @@ -69,7 +69,7 @@ public: * * @param modelChecker The model checker that is copied. */ - explicit DtmcPrctlModelChecker(mrmc::modelChecker::DtmcPrctlModelChecker* modelChecker) { + explicit DtmcPrctlModelChecker(const mrmc::modelChecker::DtmcPrctlModelChecker* modelChecker) { this->model = new mrmc::models::Dtmc(modelChecker->getModel()); }