Cppcheck warning.

This commit is contained in:
Roman Telezhynskyi 2020-10-16 15:12:06 +03:00
parent 71f2fa6d40
commit 925c5adf1b
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -104,7 +104,7 @@ protected:
bool IsRangeValid();
bool IsStepValid();
bool IsBaseValid();
bool IsUnitsValid();
bool IsUnitsValid() const;
};
//---------------------------------------------------------------------------------------------------------------------