Cppcheck warning.
This commit is contained in:
parent
71f2fa6d40
commit
925c5adf1b
|
@ -155,7 +155,7 @@ bool VAbstartMeasurementDimension::IsBaseValid()
|
|||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
bool VAbstartMeasurementDimension::IsUnitsValid()
|
||||
bool VAbstartMeasurementDimension::IsUnitsValid() const
|
||||
{
|
||||
return m_units == Unit::Cm || m_units == Unit::Mm || m_units == Unit::Inch;
|
||||
}
|
||||
|
|
|
@ -104,7 +104,7 @@ protected:
|
|||
bool IsRangeValid();
|
||||
bool IsStepValid();
|
||||
bool IsBaseValid();
|
||||
bool IsUnitsValid();
|
||||
bool IsUnitsValid() const;
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user