aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2010-08-27 18:00:58 +0000
committerIan Lance Taylor <ian@airs.com>2010-08-27 18:00:58 +0000
commitb56648ad4f60540f9b2a6b71ced34d1128232b61 (patch)
tree8a793dd694756909f2cf975ac901df82691b8fdd /gold
parent809313cb61a90c5a18c9a4b553e0872f9a3c617d (diff)
downloadfsf-binutils-gdb-b56648ad4f60540f9b2a6b71ced34d1128232b61.zip
fsf-binutils-gdb-b56648ad4f60540f9b2a6b71ced34d1128232b61.tar.gz
fsf-binutils-gdb-b56648ad4f60540f9b2a6b71ced34d1128232b61.tar.bz2
* incremental.h (class Incremental_input_entry): Add virtual
destructor.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/incremental.h4
2 files changed, 9 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index e1d051d..87eb2eb 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,5 +1,10 @@
2010-08-27 Ian Lance Taylor <iant@google.com>
+ * incremental.h (class Incremental_input_entry): Add virtual
+ destructor.
+
+2010-08-27 Ian Lance Taylor <iant@google.com>
+
* testsuite/start_lib_test_3.c: Mark t3 as used.
2010-08-27 Nick Clifton <nickc@redhat.com>
diff --git a/gold/incremental.h b/gold/incremental.h
index c1f3c99..2f5e068 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