explicit
This commit is contained in:
parent
7a85161a4a
commit
ecbec68a52
|
@ -12,7 +12,7 @@ struct AirmassResult {
|
|||
struct AirmassModelBase {
|
||||
DECLARE_ENGINE_PTR;
|
||||
|
||||
AirmassModelBase(const ValueProvider3D& veTable);
|
||||
explicit AirmassModelBase(const ValueProvider3D& veTable);
|
||||
virtual AirmassResult getAirmass(int rpm) = 0;
|
||||
|
||||
protected:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
class AlphaNAirmass : public SpeedDensityBase {
|
||||
public:
|
||||
AlphaNAirmass(const ValueProvider3D& veTable) : SpeedDensityBase(veTable) {}
|
||||
explicit AlphaNAirmass(const ValueProvider3D& veTable) : SpeedDensityBase(veTable) {}
|
||||
|
||||
AirmassResult getAirmass(int rpm) override;
|
||||
};
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
class MafAirmass final : public AirmassModelBase {
|
||||
public:
|
||||
MafAirmass(const ValueProvider3D& veTable) : AirmassModelBase(veTable) {}
|
||||
explicit MafAirmass(const ValueProvider3D& veTable) : AirmassModelBase(veTable) {}
|
||||
|
||||
AirmassResult getAirmass(int rpm) override;
|
||||
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
|
||||
class SpeedDensityAirmass : public SpeedDensityBase {
|
||||
public:
|
||||
SpeedDensityAirmass(const ValueProvider3D& veTable) : SpeedDensityBase(veTable) {}
|
||||
explicit SpeedDensityAirmass(const ValueProvider3D& veTable) : SpeedDensityBase(veTable) {}
|
||||
AirmassResult getAirmass(int rpm) override;
|
||||
};
|
||||
|
|
|
@ -15,7 +15,7 @@ float idealGasLaw(float volume, float pressure, float temperature);
|
|||
|
||||
class SpeedDensityBase : public AirmassModelBase {
|
||||
protected:
|
||||
SpeedDensityBase(const ValueProvider3D& veTable) : AirmassModelBase(veTable) {}
|
||||
explicit SpeedDensityBase(const ValueProvider3D& veTable) : AirmassModelBase(veTable) {}
|
||||
|
||||
public:
|
||||
static float getAirmassImpl(float ve, float manifoldPressure, float temperature DECLARE_ENGINE_PARAMETER_SUFFIX);
|
||||
|
|
Loading…
Reference in New Issue