refs #140, changed CValueObject classes to tupel concept

Remarks: Changes looking like an added file result from the shift of namespace voice -> audio
This commit is contained in:
Klaus Basan
2014-03-10 14:48:56 +01:00
parent 8f6a22e833
commit 34320ad3e1
43 changed files with 1293 additions and 768 deletions

View File

@@ -94,11 +94,8 @@ namespace BlackMisc
*/
template <class LATorLON> int CEarthAngle<LATorLON>::compareImpl(const CValueObject &otherBase) const
{
const auto &other = static_cast<const CEarthAngle &>(otherBase);
if (*this < other) { return -1; }
else if (*this > other) { return 1; }
else { return 0; }
const auto &other = static_cast<const CAngle &>(otherBase);
return CAngle::compareImpl(other);
}
// see here for the reason of thess forward instantiations