Skip to content
Snippets Groups Projects
Commit 4dea1502 authored by Tianqi Chen's avatar Tianqi Chen
Browse files

[BUILD] Make the core library compatible with msvc 13 (#167)

parent a1404e23
No related branches found
No related tags found
No related merge requests found
......@@ -611,12 +611,15 @@ struct hash<nnvm::TShape> {
} // namespace std
namespace dmlc {
// avoid low version of MSVC
#if !defined(_MSC_VER) || _MSC_VER >= 1900
template<typename T>
struct type_name_helper<nnvm::Tuple<T> > {
static inline std::string value() {
return "tuple of <" + type_name<T>() + ">";
}
};
#endif
}
#endif // NNVM_TUPLE_H_
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment