From 4cdf1e6b7acb70275384b4457b4ce660cf050303 Mon Sep 17 00:00:00 2001 From: dehnert Date: Thu, 7 Nov 2013 13:37:25 +0100 Subject: [PATCH] Fixed warning resulting from wrong initialization order. Former-commit-id: b7730003699d013b25628e968aba8239d1b09bc2 --- src/models/AbstractModel.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/models/AbstractModel.h b/src/models/AbstractModel.h index 294ab714e..6516884a8 100644 --- a/src/models/AbstractModel.h +++ b/src/models/AbstractModel.h @@ -42,11 +42,11 @@ class AbstractModel: public std::enable_shared_from_this> { * @param other The Source Abstract Model */ AbstractModel(AbstractModel const& other) - : transitionMatrix(other.transitionMatrix), + : transitionMatrix(other.transitionMatrix), + choiceLabeling(other.choiceLabeling), stateLabeling(other.stateLabeling), stateRewardVector(other.stateRewardVector), - transitionRewardMatrix(other.transitionRewardMatrix), - choiceLabeling(other.choiceLabeling) { + transitionRewardMatrix(other.transitionRewardMatrix) { // Intentionally left empty. }