Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Constant.cc

    r7f5566b rea9b9d3  
    99// Author           : Richard C. Bilson
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Jul 30 15:18:38 2015
    13 // Update Count     : 12
     11// Last Modified By : Rob Schluntz
     12// Last Modified On : Wed Jun 10 14:41:03 2015
     13// Update Count     : 8
    1414//
    1515
     
    2222Constant::Constant( Type *type_, std::string value_ ) : type( type_ ), value( value_ ) {}
    2323
    24 Constant::Constant( const Constant &other ) {
    25         type = other.type->clone();
    26         value = other.value;
    27 }
     24Constant::~Constant() {}
    2825
    29 Constant::~Constant() { delete type; }
    30 
    31 Constant *Constant::clone() const { assert( false ); return 0; }
     26Constant *Constant::clone() const { return 0; }
    3227
    3328void Constant::print( std::ostream &os ) const {
Note: See TracChangeset for help on using the changeset viewer.