Browse Source

Set model checker in copy constructor as const.

tempestpy_adaptions
Lanchid 12 years ago
parent
commit
ede5f56e5a
  1. 2
      src/modelChecker/DtmcPrctlModelChecker.h

2
src/modelChecker/DtmcPrctlModelChecker.h

@ -69,7 +69,7 @@ public:
*
* @param modelChecker The model checker that is copied.
*/
explicit DtmcPrctlModelChecker(mrmc::modelChecker::DtmcPrctlModelChecker<T>* modelChecker) {
explicit DtmcPrctlModelChecker(const mrmc::modelChecker::DtmcPrctlModelChecker<T>* modelChecker) {
this->model = new mrmc::models::Dtmc<T>(modelChecker->getModel());
}

Loading…
Cancel
Save