]> www.ginac.de Git - ginac.git/blobdiff - ginac/color.h
Wipe out remnants of custom RTTI.
[ginac.git] / ginac / color.h
index 1e6e25d615d9f870ce5779e9201b842efbd8ecca..360223e20b56686fca9d60336ff069cf85807137 100644 (file)
@@ -3,7 +3,7 @@
  *  Interface to GiNaC's color (SU(3) Lie algebra) objects. */
 
 /*
- *  GiNaC Copyright (C) 1999-2006 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2008 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
@@ -41,9 +41,6 @@ namespace GiNaC {
 class color : public indexed
 {
        GINAC_DECLARE_REGISTERED_CLASS(color, indexed)
-public:
-       static const tinfo_static_t return_type_tinfo_static[256];
-
        // other constructors
 public:
        color(const ex & b, unsigned char rl = 0);
@@ -60,7 +57,7 @@ protected:
        ex thiscontainer(const exvector & v) const;
        ex thiscontainer(std::auto_ptr<exvector> vp) const;
        unsigned return_type() const { return return_types::noncommutative; }
-       tinfo_t return_type_tinfo() const { return color::return_type_tinfo_static+representation_label; }
+       return_type_t return_type_tinfo() const;
 
        // non-virtual functions in this class
 public: