diff --git a/src/blackmisc/pqphysicalquantity.h b/src/blackmisc/pqphysicalquantity.h index bd157deca..87e7f62e2 100644 --- a/src/blackmisc/pqphysicalquantity.h +++ b/src/blackmisc/pqphysicalquantity.h @@ -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