From 86b636dffb88425c4b31485c15d49379a480c627 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Thu, 4 Mar 2021 00:28:34 +1000 Subject: [PATCH] Common/DimensionalArray: Work around regression from MSVC 16.9 --- src/common/dimensional_array.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/dimensional_array.h b/src/common/dimensional_array.h index ea3de5ee4..a85965f2d 100644 --- a/src/common/dimensional_array.h +++ b/src/common/dimensional_array.h @@ -29,8 +29,8 @@ namespace detail { template struct DimensionalArrayExplicitRank; -// Workaround for VC2017 -#if defined(_MSC_VER) && _MSC_VER < 1920 +// Workaround for MSVC +#if defined(_MSC_VER) template struct GetRankSize