X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fclass_info.h;h=fb9c56efd60b48e7e56a4668e84fe2aed3808178;hp=c5a7d1e8dc7e8150e54d29545a7f8eabc1c883c9;hb=073bf40a73e419a3dbcb6dfa190947ce2cc3bdce;hpb=6d225ee55693c0617d254e6fa283c00c71bd2919 diff --git a/ginac/class_info.h b/ginac/class_info.h index c5a7d1e8..fb9c56ef 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-2004 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2011 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,19 +17,20 @@ * * 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__ +#ifndef GINAC_CLASS_INFO_H +#define GINAC_CLASS_INFO_H #include // for size_t -#include -#include -#include -#include +#include #include +#include +#include #include +#include +#include namespace GiNaC { @@ -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; } @@ -194,4 +195,4 @@ template bool class_info::parents_identified = false; } // namespace GiNaC -#endif // ndef __GINAC_CLASS_INFO_H__ +#endif // ndef GINAC_CLASS_INFO_H