mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
@@ -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_;
|
||||||
|
|||||||
Reference in New Issue
Block a user