From ea80bb608cb65f3b1fda63048de4dfaa776bb7ac Mon Sep 17 00:00:00 2001 From: Ye Zhihao Date: Tue, 4 Jun 2019 11:44:16 +0800 Subject: [PATCH] Solve #14116, #15143 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 bc630f153744..b4849008b3b4 100644 --- a/include/mxnet/tuple.h +++ b/include/mxnet/tuple.h @@ -741,7 +741,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() {