Common/DimensionalArray: Re-revert the workaround

VS16.10 fixes the regression and bumps up _MSC_VER,
so make only VS2017 and VS16.9 use the workaround
This commit is contained in:
Silent 2021-05-25 19:00:40 +02:00
parent baad1a4b23
commit 803b68b279
No known key found for this signature in database
GPG Key ID: AE53149BB0C45AF1
1 changed files with 2 additions and 2 deletions

View File

@ -29,8 +29,8 @@ namespace detail {
template<typename T, std::size_t rank, std::size_t... sizes> template<typename T, std::size_t rank, std::size_t... sizes>
struct DimensionalArrayExplicitRank; struct DimensionalArrayExplicitRank;
// Workaround for MSVC // Workaround for VS2017 & VS 16.9.x
#if defined(_MSC_VER) #if defined(_MSC_VER) && (_MSC_VER < 1920 || _MSC_VER == 1928)
template<std::size_t rank, std::size_t... sizes> template<std::size_t rank, std::size_t... sizes>
struct GetRankSize struct GetRankSize