]> www.ginac.de Git - ginac.git/blobdiff - ginac/structure.cpp
- pseries::print(): did not insert parenthesis when needed for precedence.
[ginac.git] / ginac / structure.cpp
index 95c074ac621716a785c4062a5259f56c9b59b952..06d07fb7c140d5883badd3fbe974d00c0fadd969 100644 (file)
@@ -44,7 +44,7 @@ structure::structure()
 structure::~structure()
 {
        debugmsg("structure destructor",LOGLEVEL_DESTRUCT);
-       destroy(0);
+       destroy(false);
 }
 
 structure::structure(const structure & other)
@@ -57,7 +57,7 @@ const structure & structure::operator=(const structure & other)
 {
        debugmsg("structure operator=",LOGLEVEL_ASSIGNMENT);
        if (this != &other) {
-               destroy(1);
+               destroy(true);
                copy(other);
        }
        return *this;
@@ -176,7 +176,7 @@ unsigned structure::register_new(const char * nm)
 //////////
 
 const structure some_structure;
-const type_info & typeid_structure=typeid(some_structure);
+const std::type_info & typeid_structure = typeid(some_structure);
 
 #ifndef NO_NAMESPACE_GINAC
 } // namespace GiNaC