diff options
Diffstat (limited to 'indra/llcommon')
-rw-r--r-- | indra/llcommon/llunittype.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/indra/llcommon/llunittype.h b/indra/llcommon/llunittype.h index 663641d6b1..fbb8eb2431 100644 --- a/indra/llcommon/llunittype.h +++ b/indra/llcommon/llunittype.h @@ -294,13 +294,13 @@ struct LLUnitImplicit : public LLUnit<STORAGE_TYPE, UNITS> template<typename OTHER_STORAGE_TYPE, typename OTHER_UNITS> LL_FORCE_INLINE bool operator == (LLUnitImplicit<OTHER_STORAGE_TYPE, OTHER_UNITS> other) const { - return mValue == convert(other).value(); + return base_t::mValue == convert(other).value(); } template<typename STORAGE_T> LL_FORCE_INLINE bool operator == (STORAGE_T other) const { - return mValue == other; + return base_t::mValue == other; } template<typename OTHER_STORAGE_TYPE, typename OTHER_UNITS> @@ -312,13 +312,13 @@ struct LLUnitImplicit : public LLUnit<STORAGE_TYPE, UNITS> template<typename OTHER_STORAGE_TYPE, typename OTHER_UNITS> LL_FORCE_INLINE bool operator != (LLUnitImplicit<OTHER_STORAGE_TYPE, OTHER_UNITS> other) const { - return mValue != convert(other).value(); + return base_t::mValue != convert(other).value(); } template<typename STORAGE_T> LL_FORCE_INLINE bool operator != (STORAGE_T other) const { - return mValue != other; + return base_t::mValue != other; } template<typename OTHER_STORAGE_TYPE, typename OTHER_UNITS> @@ -330,13 +330,13 @@ struct LLUnitImplicit : public LLUnit<STORAGE_TYPE, UNITS> template<typename OTHER_STORAGE_TYPE, typename OTHER_UNITS> LL_FORCE_INLINE bool operator < (LLUnitImplicit<OTHER_STORAGE_TYPE, OTHER_UNITS> other) const { - return mValue < convert(other).value(); + return base_t::mValue < convert(other).value(); } template<typename STORAGE_T> LL_FORCE_INLINE bool operator < (STORAGE_T other) const { - return mValue < other; + return base_t::mValue < other; } template<typename OTHER_STORAGE_TYPE, typename OTHER_UNITS> @@ -348,13 +348,13 @@ struct LLUnitImplicit : public LLUnit<STORAGE_TYPE, UNITS> template<typename OTHER_STORAGE_TYPE, typename OTHER_UNITS> LL_FORCE_INLINE bool operator <= (LLUnitImplicit<OTHER_STORAGE_TYPE, OTHER_UNITS> other) const { - return mValue <= convert(other).value(); + return base_t::mValue <= convert(other).value(); } template<typename STORAGE_T> LL_FORCE_INLINE bool operator <= (STORAGE_T other) const { - return mValue <= other; + return base_t::mValue <= other; } template<typename OTHER_STORAGE_TYPE, typename OTHER_UNITS> @@ -366,13 +366,13 @@ struct LLUnitImplicit : public LLUnit<STORAGE_TYPE, UNITS> template<typename OTHER_STORAGE_TYPE, typename OTHER_UNITS> LL_FORCE_INLINE bool operator > (LLUnitImplicit<OTHER_STORAGE_TYPE, OTHER_UNITS> other) const { - return mValue > convert(other).value(); + return base_t::mValue > convert(other).value(); } template<typename STORAGE_T> LL_FORCE_INLINE bool operator > (STORAGE_T other) const { - return mValue > other; + return base_t::mValue > other; } template<typename OTHER_STORAGE_TYPE, typename OTHER_UNITS> @@ -384,13 +384,13 @@ struct LLUnitImplicit : public LLUnit<STORAGE_TYPE, UNITS> template<typename OTHER_STORAGE_TYPE, typename OTHER_UNITS> LL_FORCE_INLINE bool operator >= (LLUnitImplicit<OTHER_STORAGE_TYPE, OTHER_UNITS> other) const { - return mValue >= convert(other).value(); + return base_t::mValue >= convert(other).value(); } template<typename STORAGE_T> LL_FORCE_INLINE bool operator >= (STORAGE_T other) const { - return mValue >= other; + return base_t::mValue >= other; } }; |