From 911e55c5e63414f04fbf3808e8ffab842870df9e Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Tue, 18 Mar 2014 12:41:23 +0100 Subject: [PATCH] fix a few harmless CLang warnings i.e. rename class to struct in two forward declarations and remove an unused private attribute... --- opm/polymer/SimulatorCompressiblePolymer.hpp | 2 +- opm/polymer/SimulatorPolymer.cpp | 1 - opm/polymer/SimulatorPolymer.hpp | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/opm/polymer/SimulatorCompressiblePolymer.hpp b/opm/polymer/SimulatorCompressiblePolymer.hpp index 76d76d6d1..96986298b 100644 --- a/opm/polymer/SimulatorCompressiblePolymer.hpp +++ b/opm/polymer/SimulatorCompressiblePolymer.hpp @@ -39,7 +39,7 @@ namespace Opm class SimulatorTimer; class PolymerBlackoilState; class WellState; - class SimulatorReport; + struct SimulatorReport; /// Class collecting all necessary components for a two-phase simulation. class SimulatorCompressiblePolymer diff --git a/opm/polymer/SimulatorPolymer.cpp b/opm/polymer/SimulatorPolymer.cpp index db18092fb..e521b4b0a 100644 --- a/opm/polymer/SimulatorPolymer.cpp +++ b/opm/polymer/SimulatorPolymer.cpp @@ -140,7 +140,6 @@ namespace Opm const PolymerInflowInterface& polymer_inflow_; const std::vector& src_; const FlowBoundaryConditions* bcs_; - const double* gravity_; // Solvers IncompTpfaPolymer psolver_; TransportSolverTwophasePolymer tsolver_; diff --git a/opm/polymer/SimulatorPolymer.hpp b/opm/polymer/SimulatorPolymer.hpp index 08f97c5ba..c566a87eb 100644 --- a/opm/polymer/SimulatorPolymer.hpp +++ b/opm/polymer/SimulatorPolymer.hpp @@ -39,7 +39,7 @@ namespace Opm class SimulatorTimer; class PolymerState; class WellState; - class SimulatorReport; + struct SimulatorReport; /// Class collecting all necessary components for a two-phase simulation. class SimulatorPolymer