From 8c9ac3dea6c03cc7cc0d24b8f5cb061063d81ab3 Mon Sep 17 00:00:00 2001 From: Bernd Flemisch <bernd@iws.uni-stuttgart.de> Date: Tue, 26 Feb 2013 16:40:54 +0000 Subject: [PATCH] Bugfix: remove unnecessary null initializations of shared_ptrs which lead to compiler errors for gcc 4.3 git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@10285 2fb0f335-1f38-0410-981e-8018bf24f1b0 --- dumux/decoupled/2p2c/cellData2p2cmultiphysics.hh | 2 +- dumux/decoupled/2p2c/fvpressure2p2cadaptive.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dumux/decoupled/2p2c/cellData2p2cmultiphysics.hh b/dumux/decoupled/2p2c/cellData2p2cmultiphysics.hh index fdb4ee1a97..65d890cb06 100644 --- a/dumux/decoupled/2p2c/cellData2p2cmultiphysics.hh +++ b/dumux/decoupled/2p2c/cellData2p2cmultiphysics.hh @@ -83,7 +83,7 @@ public: //! Constructor for a local storage object CellData2P2Cmultiphysics() : CellData2P2C<TypeTag>(), - subdomain_(2), fluidStateType_(complex), simpleFluidState_(0) + subdomain_(2), fluidStateType_(complex) { } diff --git a/dumux/decoupled/2p2c/fvpressure2p2cadaptive.hh b/dumux/decoupled/2p2c/fvpressure2p2cadaptive.hh index e3afcab4c1..a481225757 100644 --- a/dumux/decoupled/2p2c/fvpressure2p2cadaptive.hh +++ b/dumux/decoupled/2p2c/fvpressure2p2cadaptive.hh @@ -188,7 +188,7 @@ public: * \param problem a problem class object */ FVPressure2P2CAdaptive(Problem& problem) : FVPressure2P2C<TypeTag>(problem), - problem_(problem), pressureModelAdaptive2p_(0) + problem_(problem) { enableVolumeIntegral = GET_PARAM_FROM_GROUP(TypeTag,bool, Impet, EnableVolumeIntegral); enableMPFA= GET_PARAM_FROM_GROUP(TypeTag,bool, GridAdapt, EnableMultiPointFluxApproximation); -- GitLab