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:
parent
4fc8f52fb2
commit
f240e79880
@ -57,9 +57,8 @@
|
||||
namespace Opm
|
||||
{
|
||||
|
||||
class SimulatorIncompTwophase::Impl
|
||||
struct SimulatorIncompTwophase::Impl
|
||||
{
|
||||
public:
|
||||
Impl(const parameter::ParameterGroup& param,
|
||||
const UnstructuredGrid& grid,
|
||||
const IncompPropertiesInterface& props,
|
||||
@ -74,7 +73,6 @@ namespace Opm
|
||||
TwophaseState& state,
|
||||
WellState& well_state);
|
||||
|
||||
private:
|
||||
// Data.
|
||||
// Parameters for output.
|
||||
bool output_;
|
||||
|
Loading…
Reference in New Issue
Block a user