Changes in / [3f7e12cb:954908d]


Ignore:
Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/Concurrency/Keywords.cc

    r3f7e12cb r954908d  
    553553                        ),
    554554                        new ListInit(
    555                                 map_range < std::list<Initializer*> > ( args, [this](DeclarationWithType * var ){
     555                                map_range < std::list<Initializer*> > ( args, [](DeclarationWithType * var ){
    556556                                        Type * type = var->get_type()->clone();
    557557                                        type->set_mutex( false );
  • src/InitTweak/InitTweak.cc

    r3f7e12cb r954908d  
    105105        public:
    106106                InitImpl( Initializer * init ) : init( init ) {}
     107                virtual ~InitImpl() = default;
    107108
    108109                virtual std::list< Expression * > next( __attribute((unused)) std::list< Expression * > & indices ) {
     
    121122        public:
    122123                ExprImpl( Expression * expr ) : arg( expr ) {}
    123 
    124                 ~ExprImpl() { delete arg; }
     124                virtual ~ExprImpl() { delete arg; }
    125125
    126126                virtual std::list< Expression * > next( std::list< Expression * > & indices ) {
Note: See TracChangeset for help on using the changeset viewer.