Просмотр исходного кода

ERR: Added virtual destructor to complement virtual functions in cmIfFunctionBlocker.

Brad King 25 лет назад
Родитель
Сommit
80ce581a0d
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      Source/cmIfCommand.h

+ 1 - 0
Source/cmIfCommand.h

@@ -28,6 +28,7 @@
 class cmIfFunctionBlocker : public cmFunctionBlocker
 {
 public:
+  virtual ~cmIfFunctionBlocker() {}
   virtual bool IsFunctionBlocked(const char *name, const std::vector<std::string> &args, 
                                  const cmMakefile &mf) const;
   virtual bool ShouldRemove(const char *name, const std::vector<std::string> &args,