SPEC-2513 Fixes to enable w4310

This commit is contained in:
Esteban Papp
2021-06-09 13:05:45 -07:00
committed by GitHub
parent 68ffdd6714
commit 47205d088f
2 changed files with 2 additions and 5 deletions
+2 -4
View File
@@ -282,11 +282,9 @@ struct TIntTraits
static const size_t nPOS_BITS
= sizeof(T) * 8 - bSIGNED;
static const T nMIN
= bSIGNED ? T (T(1) << (T(sizeof(T) * 8 - 1))) : T(0);
static const T nMIN = std::numeric_limits<T>::min();
static const T nMAX
= ~nMIN;
static const T nMAX = std::numeric_limits<T>::max();
};
template<uint S>