aboutsummaryrefslogtreecommitdiff
path: root/gold/incremental.h
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/incremental.h
parent809313cb61a90c5a18c9a4b553e0872f9a3c617d (diff)
downloadgdb-b56648ad4f60540f9b2a6b71ced34d1128232b61.zip
gdb-b56648ad4f60540f9b2a6b71ced34d1128232b61.tar.gz
gdb-b56648ad4f60540f9b2a6b71ced34d1128232b61.tar.bz2
* incremental.h (class Incremental_input_entry): Add virtual
destructor.
Diffstat (limited to 'gold/incremental.h')
-rw-r--r--gold/incremental.h4
1 files changed, 4 insertions, 0 deletions
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