From 3e0c38b9215c448d2c41f9bb94a9fc8ec261d891 Mon Sep 17 00:00:00 2001 From: Mathew Sutcliffe Date: Mon, 16 Sep 2013 23:09:54 +0100 Subject: [PATCH] API fix: CPhysicalQuantity::setValueSameUnit() is supposed to be public --- src/blackmisc/pqphysicalquantity.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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