* incremental.h (class Incremental_input_entry): Add virtual
authorIan Lance Taylor <ian@airs.com>
Fri, 27 Aug 2010 18:00:58 +0000 (18:00 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 27 Aug 2010 18:00:58 +0000 (18:00 +0000)
destructor.

gold/ChangeLog
gold/incremental.h

index e1d051d1ed1baf651668176885ebc0eb6d4a2e8c..87eb2eb66c429b7c5cae526b3f1c8e861a04c477 100644 (file)
@@ -1,3 +1,8 @@
+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.
index c1f3c990894cbd06d02a737a10bc1f7c4f399b54..2f5e068c873ddb782505a98c1f07ecbcc6058507 100644 (file)
@@ -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