API fix: CPhysicalQuantity::setValueSameUnit() is supposed to be public

This commit is contained in:
Mathew Sutcliffe
2013-09-16 23:09:54 +01:00
parent e12d7fbd7a
commit 3e0c38b921

View File

@@ -71,12 +71,6 @@ protected:
return this->valueRoundedWithUnit(this->getUnit(), -1, i18n);
}
/*!
* \brief Change value without changing unit
* \param value
*/
void setValueSameUnit(double value);
public:
/*!
* \brief Virtual destructor
@@ -153,6 +147,12 @@ public:
return this->valueRoundedWithUnit(this->m_unit, digits, i18n);
}
/*!
* \brief Change value without changing unit
* \param value
*/
void setValueSameUnit(double value);
/*!
* \brief Add to the value in the current unit.
* \param value