X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=blobdiff_plain;f=ginac%2Fstructure.pl;h=6c5760f865d9f589a3bace7199314e1ef0444fcb;hb=6bf150d480d18b6734e412fef68157b7986f42be;hp=f6b8a4898855e71f1d13e4645f8822778aded59b;hpb=aa6281216091efd92dc5fcc3f96c7189114e80f1;p=ginac.git diff --git a/ginac/structure.pl b/ginac/structure.pl index f6b8a489..6c5760f8 100755 --- a/ginac/structure.pl +++ b/ginac/structure.pl @@ -156,7 +156,7 @@ class ${STRUCTURE} : public structure { // member functions - // default ctor, dtor, copy ctor assignment operator and helpers + // default ctor, dtor, copy ctor, assignment operator and helpers public: ${STRUCTURE}(); ~${STRUCTURE}(); @@ -260,25 +260,21 @@ namespace GiNaC { ${STRUCTURE}::${STRUCTURE}() { - debugmsg("${STRUCTURE} default ctor",LOGLEVEL_CONSTRUCT); tinfo_key=tinfo_${STRUCTURE}; } ${STRUCTURE}::~${STRUCTURE}() { - debugmsg("${STRUCTURE} destructor",LOGLEVEL_DESTRUCT); destroy(false); } ${STRUCTURE}::${STRUCTURE}(${STRUCTURE} const & other) { - debugmsg("${STRUCTURE} copy ctor",LOGLEVEL_CONSTRUCT); copy(other); } ${STRUCTURE} const & ${STRUCTURE}::operator=(${STRUCTURE} const & other) { - debugmsg("${STRUCTURE} operator=",LOGLEVEL_ASSIGNMENT); if (this != &other) { destroy(true); copy(other); @@ -308,7 +304,6 @@ void ${STRUCTURE}::destroy(bool call_parent) ${STRUCTURE}::${STRUCTURE}(${constructor_arglist}) : ${constructor_statements} { - debugmsg("${STRUCTURE} ctor from children", LOGLEVEL_CONSTRUCT); tinfo_key=tinfo_${STRUCTURE}; } @@ -320,13 +315,11 @@ ${STRUCTURE}::${STRUCTURE}(${constructor_arglist}) basic * ${STRUCTURE}::duplicate() const { - debugmsg("${STRUCTURE} duplicate",LOGLEVEL_DUPLICATE); return new ${STRUCTURE}(*this); } void ${STRUCTURE}::print(const print_context & c, unsigned level) const { - debugmsg("${STRUCTURE} print", LOGLEVEL_PRINT); c.s << class_name() << "()"; }