Salome HOME
Remove extra includes
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_ConstraintBase.h
index e08bf7682be26adcfe323dddce57640cabcab29e..7299aabe0fe3e19d216c3b05a5fe2c2363fe24d8 100644 (file)
@@ -15,7 +15,6 @@
 
 #include <list>
 
-
 /*  Description: 
  *    Each constraint uses a set of parameters. In the SolveSpace library 
  *    these parameters are named "valA", "ptA", "ptB", "entityA", "entityB". 
  *         Some feature's methods implemented here as dummy to
  *         Base class for all constraints.
  */
-class SketchPlugin_ConstraintBase: public SketchPlugin_Constraint,
-                                   public GeomAPI_IPresentable
+class SketchPlugin_ConstraintBase : public SketchPlugin_Constraint, public GeomAPI_IPresentable
 {
-public:
+ public:
   /// Returns the AIS preview
   SKETCHPLUGIN_EXPORT virtual AISObjectPtr getAISObject(AISObjectPtr thePrevious);
 
@@ -53,11 +51,13 @@ public:
 
   /// Return the distance between the feature and the point
   /// \param thePoint the point
-  virtual double distanceToPoint(const boost::shared_ptr<GeomAPI_Pnt2d>& thePoint);
+  virtual double distanceToPoint(const std::shared_ptr<GeomAPI_Pnt2d>& thePoint);
 
-protected:
+ protected:
   /// \brief Use plugin manager for features creation
-  SketchPlugin_ConstraintBase() {}
+  SketchPlugin_ConstraintBase()
+  {
+  }
 };
 
 #endif