Issue #77 Remove pointless function

This commit is contained in:
Mat Sutcliffe
2020-08-25 21:50:24 +01:00
parent b6ca52ba7a
commit 4eb496c8e3
4 changed files with 2 additions and 64 deletions

View File

@@ -424,11 +424,9 @@ namespace BlackMisc
template <class MU, class PQ>
uint CPhysicalQuantity<MU, PQ>::getValueHash() const
{
QList<uint> hashs;
// there is no double qHash
// also unit and rounding has to be considered
hashs << qHash(this->valueRoundedWithUnit(MU::defaultUnit()));
return calculateHash(hashs, "PQ");
return qHash(this->valueRoundedWithUnit(MU::defaultUnit()));
}
template <class MU, class PQ>