Ignore:
Timestamp:
Nov 8, 2017, 5:15:54 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
954908d
Parents:
e35f30a
Message:

Fixed new clang-6.0 warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/InitTweak.cc

    re35f30a rbd41764  
    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.