Common/DimensionalArray: Work around regression from MSVC 16.9

This commit is contained in:
Connor McLaughlin 2021-03-04 00:28:34 +10:00
parent dc7b5e5155
commit 86b636dffb

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 VC2017 // Workaround for MSVC
#if defined(_MSC_VER) && _MSC_VER < 1920 #if defined(_MSC_VER)
template<std::size_t rank, std::size_t... sizes> template<std::size_t rank, std::size_t... sizes>
struct GetRankSize struct GetRankSize