mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-24 18:04:14 +08:00
Issue #77 Remove pointless function
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user