diff options
Diffstat (limited to 'dwarflint/addr-record.cc')
| -rw-r--r-- | dwarflint/addr-record.cc | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/dwarflint/addr-record.cc b/dwarflint/addr-record.cc index f4cc87b9..220f4b1d 100644 --- a/dwarflint/addr-record.cc +++ b/dwarflint/addr-record.cc @@ -66,36 +66,3 @@ addr_record::add (uint64_t addr) if (it == end () || *it != addr) insert (it, addr); } - -ref::ref () - : addr (-1) - , who (NULL) -{} - -ref::ref (uint64_t a_addr, locus const &a_who) - : addr (a_addr) - , who (a_who.clone ()) -{} - -ref::ref (ref const ©) - : who (NULL) -{ - *this = copy; -} - -ref & -ref::operator= (ref const ©) -{ - if (© != this) - { - addr = copy.addr; - delete who; - who = copy.who ? copy.who->clone () : NULL; - } - return *this; -} - -ref::~ref () -{ - delete who; -} |
