From: Ian Lance Taylor Date: Fri, 27 Aug 2010 18:00:58 +0000 (+0000) Subject: * incremental.h (class Incremental_input_entry): Add virtual X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b56648ad4f60540f9b2a6b71ced34d1128232b61;p=binutils-gdb.git * incremental.h (class Incremental_input_entry): Add virtual destructor. --- diff --git a/gold/ChangeLog b/gold/ChangeLog index e1d051d1ed1..87eb2eb66c4 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2010-08-27 Ian Lance Taylor + + * incremental.h (class Incremental_input_entry): Add virtual + destructor. + 2010-08-27 Ian Lance Taylor * testsuite/start_lib_test_3.c: Mark t3 as used. diff --git a/gold/incremental.h b/gold/incremental.h index c1f3c990894..2f5e068c873 100644 --- a/gold/incremental.h +++ b/gold/incremental.h @@ -241,6 +241,10 @@ class Incremental_input_entry : filename_key_(filename_key), offset_(0), info_offset_(0), mtime_(mtime) { } + virtual + ~Incremental_input_entry() + { } + // Return the type of input file. Incremental_input_type type() const