Merge pull request #2174 from CookiePLMonster/vs2019-workaround

Common/DimensionalArray: Re-revert the workaround
This commit is contained in:
Connor McLaughlin 2021-05-26 13:48:13 +10:00 committed by GitHub
commit 3e792651d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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