Minor compilation corrections. g++ version 8.1 was sensitive to those and treating them as errors.

This commit is contained in:
Martin Beaudoin 2018-07-22 03:55:59 +00:00
parent 734628ceb0
commit ac2005f15e
2 changed files with 5 additions and 5 deletions

View file

@ -144,7 +144,7 @@ public:
//- Return reference to the fluctuation scale to allow adjustment
graph& timeData()
{
return timeDataPtr_;
return timeDataPtr_();
}
const engineTime& engineDB() const

View file

@ -212,27 +212,27 @@ public:
}
//- Return inlet-outlet treatment switch
bool inletOutlet() const
Switch inletOutlet() const
{
return inletOutlet_;
}
//- Return reference to inlet-outlet treatment switch
// to allow adjustment
bool& inletOutlet()
Switch& inletOutlet()
{
return inletOutlet_;
}
//- Return supercritical outlet treatment switch
bool correctSupercritical() const
Switch correctSupercritical() const
{
return correctSupercritical_;
}
//- Return reference to supercritical treatment switch
// to allow adjustment
bool& correctSupercritical()
Switch& correctSupercritical()
{
return correctSupercritical_;
}