X-Git-Url: https://ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=ginac%2Fstructure.h;h=867cd42dd2cb786ead3d346ba72dfad0872ab5c3;hb=9ada7a7f5c47e512b7bf6057d4c013612be9a33b;hp=83c49b03c64ecd9c222da0e6a5ca523c4fb8fcd1;hpb=67edef78ce992a8f6ad704bfac228b8dec6eacd2;p=ginac.git diff --git a/ginac/structure.h b/ginac/structure.h index 83c49b03..867cd42d 100644 --- a/ginac/structure.h +++ b/ginac/structure.h @@ -3,7 +3,7 @@ * Wrapper template for making GiNaC classes out of C++ structures. */ /* - * GiNaC Copyright (C) 1999-2010 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 @@ -210,7 +210,7 @@ protected: GINAC_ASSERT(is_a(other)); const structure & o = static_cast(other); - return struct_is_equal(&obj, &o.obj); + return this->struct_is_equal(&obj, &o.obj); } unsigned calchash() const { return inherited::calchash(); } @@ -237,7 +237,7 @@ int structure::compare_same_type(const basic & other) const GINAC_ASSERT(is_a(other)); const structure & o = static_cast(other); - return struct_compare(&obj, &o.obj); + return this->struct_compare(&obj, &o.obj); } template class CP>