X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=ginac%2Fclass_info.h;h=c889dfca8e89b848283b46883697794a459a492d;hb=ef06261c6354bea6d35e8bcdb89806056d4cccb9;hp=b95bf8a3c2e0cf7cbb72a99d8ecc847df7ee3895;hpb=695f6ae955ec530cded8f21efd5569df39447f76;p=ginac.git diff --git a/ginac/class_info.h b/ginac/class_info.h index b95bf8a3..c889dfca 100644 --- a/ginac/class_info.h +++ b/ginac/class_info.h @@ -3,7 +3,7 @@ * Helper templates to provide per-class information for class hierarchies. */ /* - * GiNaC Copyright (C) 1999-2005 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2008 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 @@ -17,13 +17,14 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef __GINAC_CLASS_INFO_H__ #define __GINAC_CLASS_INFO_H__ #include // for size_t +#include #include #include #include @@ -179,7 +180,7 @@ void class_info::identify_parents() for (class_info *p = first; p; p = p->next) { const char *parent_name = p->options.get_parent_name(); for (class_info *q = first; q; q = q->next) { - if (strcmp(q->options.get_name(), parent_name) == 0) { + if (std::strcmp(q->options.get_name(), parent_name) == 0) { p->parent = q; break; }