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

View file

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