Salome HOME
Fix for issue #1174
[modules/shaper.git] / src / GeomData / GeomData_Point.h
index 71c663e90e26a84b59171a346ae08531c261e359..56d9c042ba8ecb8f6bc3d9af2aa317b4e22c4d8e 100644 (file)
@@ -12,7 +12,7 @@
 
 #include <TDF_Label.hxx>
 
-class ModelAPI_Expression;
+class ModelAPI_ExpressionDouble;
 
 /**\class GeomData_Point
  * \ingroup DataModel
@@ -21,7 +21,7 @@ class ModelAPI_Expression;
 class GeomData_Point : public GeomDataAPI_Point
 {
   enum { NUM_COMPONENTS = 3 };
-  std::shared_ptr<ModelAPI_Expression> myExpression[NUM_COMPONENTS]; ///< Expressions for X, Y and Z 
+  std::shared_ptr<ModelAPI_ExpressionDouble> myExpression[NUM_COMPONENTS]; ///< Expressions for X, Y and Z 
  public:
   /// Defines the double value
   GEOMDATA_EXPORT virtual void setValue(const double theX, const double theY, const double theZ);