Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/ReferenceToType.cc

    rbe9036d rea6332d  
    132132std::string TraitInstType::typeString() const { return "trait"; }
    133133
    134 TraitInstType::TraitInstType( const Type::Qualifiers & tq, TraitDecl * baseTrait, const std::list< Attribute * > & attributes ) : Parent( tq, baseTrait->name, attributes ), baseTrait( baseTrait ) {}
    135 
    136 TraitInstType::TraitInstType( const TraitInstType &other ) : Parent( other ), baseTrait( other.baseTrait ) {
     134TraitInstType::TraitInstType( const TraitInstType &other ) : Parent( other ) {
     135        cloneAll( other.members, members );
    137136}
    138137
    139138TraitInstType::~TraitInstType() {
     139        deleteAll( members );
    140140}
    141141
Note: See TracChangeset for help on using the changeset viewer.