]> www.ginac.de Git - ginac.git/blobdiff - ginac/structure.h
Fix compilation with clang.
[ginac.git] / ginac / structure.h
index 83c49b03c64ecd9c222da0e6a5ca523c4fb8fcd1..7e12bf0de13fa724ed83b39217e62e9857656205 100644 (file)
@@ -210,7 +210,7 @@ protected:
                GINAC_ASSERT(is_a<structure>(other));
                const structure & o = static_cast<const structure &>(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<T, CP>::compare_same_type(const basic & other) const
        GINAC_ASSERT(is_a<structure>(other));
        const structure & o = static_cast<const structure &>(other);
 
-       return struct_compare(&obj, &o.obj);
+       return this->struct_compare(&obj, &o.obj);
 }
 
 template <class T, template <class> class CP>