]> www.ginac.de Git - ginac.git/blobdiff - ginac/exprseq.h
Work around a compiler bug on MSVC.
[ginac.git] / ginac / exprseq.h
index dea1e38eb1127f35563750a1460df0daa7adc8e1..ce78aae90b9637edcca2b3bd8212c9ebb1c5c480 100644 (file)
@@ -32,7 +32,9 @@ namespace GiNaC {
 typedef container<std::vector> exprseq;
 
 /** Declaration of container::reg_info for exprseq. */
+#ifndef _MSC_VER  // workaround error C2766: explicit specialization; 'reg_info' has already been defined
 template<> registered_class_info exprseq::reg_info;
+#endif
 
 // defined in exprseq.cpp
 template<> bool exprseq::info(unsigned inf) const;