]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/ModelAPI_Validator.h
Salome HOME
Get rid of compilation warnings. Part I.
[modules/shaper.git] / src / ModelAPI / ModelAPI_Validator.h
index b37a16d719f5efb3ef46f08730285a9f2b402798..b7f378b9899a6d9ae84a1194953b5b9c91ae8c8b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -65,6 +65,8 @@ typedef std::shared_ptr<ModelAPI_Validator> ValidatorPtr;
 class MODELAPI_EXPORT ModelAPI_ValidatorsFactory
 {
  public:
+   virtual ~ModelAPI_ValidatorsFactory() {}
+
   /// Registers the instance of the validator by the ID
   virtual void registerValidator(const std::string& theID, ModelAPI_Validator* theValidator) = 0;