Bug 847480 - Remove unused (verified by manual inspection and try) DeprecatedAbs overloads so it's harder for new uses to pop up. r=Ms2ger

--HG--
extra : rebase_source : dff4d6d2c7006fbc296c9ae0b08d3e66219f7846
This commit is contained in:
Jeff Walden 2013-03-09 14:20:14 -08:00
parent 48a4322499
commit b9465d4bbf

View File

@ -52,20 +52,14 @@ namespace detail {
template<typename T>
struct AllowDeprecatedAbsFixed : FalseType {};
template<> struct AllowDeprecatedAbsFixed<int8_t> : TrueType {};
template<> struct AllowDeprecatedAbsFixed<int16_t> : TrueType {};
template<> struct AllowDeprecatedAbsFixed<int32_t> : TrueType {};
template<> struct AllowDeprecatedAbsFixed<int64_t> : TrueType {};
template<typename T>
struct AllowDeprecatedAbs : AllowDeprecatedAbsFixed<T> {};
template<> struct AllowDeprecatedAbs<char> : IntegralConstant<bool, char(-1) < char(0)> {};
template<> struct AllowDeprecatedAbs<signed char> : TrueType {};
template<> struct AllowDeprecatedAbs<short> : TrueType {};
template<> struct AllowDeprecatedAbs<int> : TrueType {};
template<> struct AllowDeprecatedAbs<long> : TrueType {};
template<> struct AllowDeprecatedAbs<long long> : TrueType {};
} // namespace detail