From 4af2a386155f8951ae2aa7338816b593c74faceb Mon Sep 17 00:00:00 2001 From: Ye Zhihao Date: Sat, 21 Sep 2019 05:31:49 +0800 Subject: [PATCH] Solve #14116, #15143 (#15144) Relax Visual Studio version constraint in the specialization of `dmlc::type_name_helper
` for `DT=mxnet::Tuple` --- include/mxnet/tuple.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mxnet/tuple.h b/include/mxnet/tuple.h index 51f860995e74..e4ca75ffa6d3 100644 --- a/include/mxnet/tuple.h +++ b/include/mxnet/tuple.h @@ -766,7 +766,7 @@ namespace dmlc { DMLC_DECLARE_TYPE_NAME(optional, "Shape or None"); DMLC_DECLARE_TYPE_NAME(optional>, "Shape or None"); // avoid low version of MSVC -#if !defined(_MSC_VER) +#if !(defined(_MSC_VER) && _MSC_VER < 1900) template struct type_name_helper > { static inline std::string value() {