mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-30 09:35:40 +00:00
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:
parent
baad1a4b23
commit
803b68b279
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue