]> granicus.if.org Git - clang/commitdiff
Make this destructor virtual to placate GCC's warnings.
authorChandler Carruth <chandlerc@gmail.com>
Fri, 16 Jul 2010 17:27:32 +0000 (17:27 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 16 Jul 2010 17:27:32 +0000 (17:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108534 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Frontend/PCHDeserializationListener.h

index 627ec497bd2db8db8b3d7fe8d45001b043b5ac86..84d7f8c1f5a76f48deb5f98095fcef2852cdb5b4 100644 (file)
@@ -24,7 +24,7 @@ class QualType;
 
 class PCHDeserializationListener {
 protected:
-  ~PCHDeserializationListener() {}
+  virtual ~PCHDeserializationListener() {}
 
 public:
   /// \brief A type was deserialized from the PCH. The ID here has the qualifier