From 35d1bdd80006d34a93e84d676280ad6a35db3182 Mon Sep 17 00:00:00 2001 From: andy <andy> Date: Fri, 19 Oct 2012 16:25:13 +0100 Subject: [PATCH] BUG: SubModelBase - use copy instead of reference for sub-model coeffs dictionary --- src/lagrangian/intermediate/submodels/SubModelBase.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lagrangian/intermediate/submodels/SubModelBase.H b/src/lagrangian/intermediate/submodels/SubModelBase.H index 0427c162f7e..608cee614eb 100644 --- a/src/lagrangian/intermediate/submodels/SubModelBase.H +++ b/src/lagrangian/intermediate/submodels/SubModelBase.H @@ -61,7 +61,7 @@ protected: CloudType& owner_; //- Reference to the cloud dictionary - const dictionary& dict_; + const dictionary dict_; //- Name of the sub-model base class const word baseName_; @@ -73,7 +73,7 @@ protected: const word modelName_; //- Coefficients dictionary - const dictionary& coeffDict_; + const dictionary coeffDict_; // Protected Member Functions -- GitLab