mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
API fix: CPhysicalQuantity::setValueSameUnit() is supposed to be public
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user