Make implementation class "package" visible

Since a definition of the class is not in the header, no other
compilation units can safely access the internals of the Impl class
anyway, so it may as well be a regular struct so that the outer class
(SimulatorIncompTwophase) can access it.
This commit is contained in:
Roland Kaufmann
2013-05-14 11:11:18 +02:00
parent 4fc8f52fb2
commit f240e79880

View File

@@ -57,9 +57,8 @@
namespace Opm namespace Opm
{ {
class SimulatorIncompTwophase::Impl struct SimulatorIncompTwophase::Impl
{ {
public:
Impl(const parameter::ParameterGroup& param, Impl(const parameter::ParameterGroup& param,
const UnstructuredGrid& grid, const UnstructuredGrid& grid,
const IncompPropertiesInterface& props, const IncompPropertiesInterface& props,
@@ -74,7 +73,6 @@ namespace Opm
TwophaseState& state, TwophaseState& state,
WellState& well_state); WellState& well_state);
private:
// Data. // Data.
// Parameters for output. // Parameters for output.
bool output_; bool output_;