]> sourceware.org Git - libabigail.git/commitdiff
Add missing virtual destructor in comparison engine code
authorDodji Seketeli <dodji@redhat.com>
Tue, 28 Oct 2014 11:03:15 +0000 (12:03 +0100)
committerDodji Seketeli <dodji@redhat.com>
Tue, 28 Oct 2014 11:05:24 +0000 (12:05 +0100)
* include/abg-comparison.h (type_suppression::~type_suppression):
Declare missing virtual destructor.
* src/abg-comparison.cc (type_suppression::~type_suppression):
Define missing virtual destructor.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
include/abg-comparison.h
src/abg-comparison.cc

index 9d757d801ccbc53736f2d19c33b1d9eb6c76e4f9..14cb2f76ea48e5bf173058ca2c63547d03be502a 100644 (file)
@@ -414,6 +414,8 @@ public:
                   const string& type_name_regexp,
                   const string& type_name);
 
+  virtual ~type_suppression();
+
   void
   set_type_name_regex_str(const string& name_regex_str);
 
index b97bff95f8051283073fa1cd9bc3fe3e8ea8eb7f..85d2bc13fee67f7ec81cd6242a36d9a8e9dc9cd9 100644 (file)
@@ -298,6 +298,9 @@ type_suppression::type_suppression(const string& label,
                   /*type_kind=*/CLASS_TYPE_KIND))
 {}
 
+type_suppression::~type_suppression()
+{}
+
 /// Setter for the "type_name_regex" property of the type suppression
 /// specification.
 ///
This page took 0.049638 seconds and 5 git commands to generate.