From b56648ad4f60540f9b2a6b71ced34d1128232b61 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 27 Aug 2010 18:00:58 +0000 Subject: [PATCH] * incremental.h (class Incremental_input_entry): Add virtual destructor. --- gold/ChangeLog | 5 +++++ gold/incremental.h | 4 ++++ 2 files changed, 9 insertions(+) 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 -- 2.30.2