]> www.ginac.de Git - ginac.git/blobdiff - ginac/exprseq.h
[BUGFIX] Fix crash in parser.
[ginac.git] / ginac / exprseq.h
index 99eeef1e72725d9d15e645fbc120e0c67d9a6cbd..a0381ec9c4758030917ed1755535676aae0ff405 100644 (file)
@@ -3,7 +3,7 @@
  *  Definition of GiNaC's exprseq. */
 
 /*
- *  GiNaC Copyright (C) 1999-2019 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2024 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -31,6 +31,11 @@ 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;