Salome HOME
Issue #3222: 1d fillet
[modules/shaper.git] / src / ModelHighAPI / ModelHighAPI_Macro.h
index accf0c79fc93fe10a88f1107454691ccae2685c7..333de514e0347ea08358160a39ab93727b500db7 100644 (file)
@@ -50,7 +50,7 @@
 // Used in INTERFACE_N for create variable and getter
 #define DEFINE_ATTRIBUTE(NAME, TYPE, COMMENT) \
     COMMENT \
-    std::shared_ptr<TYPE> NAME() const { return VAR_NAME(NAME); } \
+    virtual std::shared_ptr<TYPE> NAME() const { return VAR_NAME(NAME); } \
   protected: \
     std::shared_ptr<TYPE> VAR_NAME(NAME); \
   public: