mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
48a4322499
commit
b9465d4bbf
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user