Salome HOME
Remove 'override' keyword due to non-supported by old version of GCC
authorazv <azv@opencascade.com>
Mon, 27 Feb 2017 09:13:12 +0000 (12:13 +0300)
committerazv <azv@opencascade.com>
Mon, 27 Feb 2017 09:13:12 +0000 (12:13 +0300)
19 files changed:
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_AttributeBuilder.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Builder.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_FeatureBuilder.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Storage.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_UpdateCoincidence.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_UpdateFeature.h
src/SketchSolver/SketchSolver_ConstraintAngle.h
src/SketchSolver/SketchSolver_ConstraintCoincidence.h
src/SketchSolver/SketchSolver_ConstraintDistance.h
src/SketchSolver/SketchSolver_ConstraintEqual.h
src/SketchSolver/SketchSolver_ConstraintFixed.h
src/SketchSolver/SketchSolver_ConstraintLength.h
src/SketchSolver/SketchSolver_ConstraintMiddle.h
src/SketchSolver/SketchSolver_ConstraintMirror.h
src/SketchSolver/SketchSolver_ConstraintMulti.h
src/SketchSolver/SketchSolver_ConstraintMultiRotation.h
src/SketchSolver/SketchSolver_ConstraintMultiTranslation.h
src/SketchSolver/SketchSolver_ConstraintTangent.h

index cdf586b0012fb97cb502ab0f1420fa8b9566677f..4c8e44ed6dc6b2eccfe6564889a7178bbe34d27c 100644 (file)
@@ -23,14 +23,14 @@ public:
   ///        Double attributes and 2D points are supported only.
   /// \param theAttribute [in]  attribute to create
   /// \return Created wrapper of the attribute applicable for specific solver
-  virtual EntityWrapperPtr createAttribute(AttributePtr theAttribute) override;
+  virtual EntityWrapperPtr createAttribute(AttributePtr theAttribute);
 
   /// \brief Blank. To be defined in derived class.
-  virtual EntityWrapperPtr createFeature(FeaturePtr) override
+  virtual EntityWrapperPtr createFeature(FeaturePtr)
   { return EntityWrapperPtr(); }
 
   /// \brief Blank. To be defined in derived class.
-  virtual const std::list<GCSConstraintPtr>& constraints() const override;
+  virtual const std::list<GCSConstraintPtr>& constraints() const;
 };
 
 #endif
index 62b9ff3270b135c8cdf5240348e40663b6e222a7..caf81eb21692b8d56c215c6296e66725ab7c45ba 100644 (file)
@@ -30,9 +30,9 @@ public:
   static BuilderPtr getInstance();
 
   /// \brief Creates a storage specific for used solver
-  virtual StoragePtr createStorage(const SolverPtr& theSolver) const override;
+  virtual StoragePtr createStorage(const SolverPtr& theSolver) const;
   /// \brief Creates specific solver
-  virtual SolverPtr createSolver() const override;
+  virtual SolverPtr createSolver() const;
 
   /// \brief Creates new constraint using given parameters
   /// \param theConstraint [in]  original constraint
@@ -51,7 +51,7 @@ public:
                      const EntityWrapperPtr& theEntity1,
                      const EntityWrapperPtr& theEntity2 = EntityWrapperPtr(),
                      const EntityWrapperPtr& theEntity3 = EntityWrapperPtr(),
-                     const EntityWrapperPtr& theEntity4 = EntityWrapperPtr()) const override;
+                     const EntityWrapperPtr& theEntity4 = EntityWrapperPtr()) const;
 
   /// \brief Creates new multi-translation or multi-rotation constraint
   /// \param theConstraint [in]  original constraint
@@ -70,23 +70,23 @@ public:
                      const bool theFullValue,
                      const EntityWrapperPtr& thePoint1,
                      const EntityWrapperPtr& thePoint2,
-                     const std::list<EntityWrapperPtr>& theTrsfEnt) const override;
+                     const std::list<EntityWrapperPtr>& theTrsfEnt) const;
 
   /// \brief Convert entity to point
   /// \return empty pointer if the entity is not a point
-  virtual std::shared_ptr<GeomAPI_Pnt2d> point(EntityWrapperPtr theEntity) const override;
+  virtual std::shared_ptr<GeomAPI_Pnt2d> point(EntityWrapperPtr theEntity) const;
   /// \brief Convert entity to line
   /// \return empty pointer if the entity is not a line
-  virtual std::shared_ptr<GeomAPI_Lin2d> line(EntityWrapperPtr theEntity) const override;
+  virtual std::shared_ptr<GeomAPI_Lin2d> line(EntityWrapperPtr theEntity) const;
 
   /// \brief Convert entity to line
   /// \return empty pointer if the entity is not a line
-  virtual std::shared_ptr<GeomAPI_Lin2d> line(FeaturePtr theFeature) const override;
+  virtual std::shared_ptr<GeomAPI_Lin2d> line(FeaturePtr theFeature) const;
 
   /// \brief Check if two connected arcs have centers
   ///        in same direction relatively to connection point
   virtual bool isArcArcTangencyInternal(EntityWrapperPtr theArc1,
-                                        EntityWrapperPtr theArc2) const override;
+                                        EntityWrapperPtr theArc2) const;
 };
 
 #endif
index d08d5ab26c3a4e21cef4dd8fe63cc9dd76505a26..af796cda3545eacb8343599ef275d15310f564b9 100644 (file)
@@ -25,15 +25,15 @@ public:
   ///        Double attributes and 2D points are supported only.
   /// \param theAttribute [in]  attribute to create
   /// \return Created wrapper of the attribute applicable for specific solver
-  virtual EntityWrapperPtr createAttribute(AttributePtr theAttribute) override;
+  virtual EntityWrapperPtr createAttribute(AttributePtr theAttribute);
 
   /// \brief Converts SketchPlugin's feature to the solver's entity.
   ///        Result if based on the list of already converted attributes.
   /// \param theFeature [in]  feature to create
-  virtual EntityWrapperPtr createFeature(FeaturePtr theFeature) override;
+  virtual EntityWrapperPtr createFeature(FeaturePtr theFeature);
 
   /// \brief Return list of constraints necessary to fix feature's extra DoF
-  virtual const std::list<GCSConstraintPtr>& constraints() const override
+  virtual const std::list<GCSConstraintPtr>& constraints() const
   { return myFeatureConstraints; }
 
 private:
index 051f73cadbd8af76a74829021b9d12c5dcd69ce9..481cc082685f449d8146ac70bdc5647e5a607f02 100644 (file)
@@ -35,20 +35,20 @@ public:
 
   /// \brief Solve the set of equations
   /// \return identifier whether solution succeeded
-  virtual SketchSolver_SolveStatus solve() override;
+  virtual SketchSolver_SolveStatus solve();
 
   /// \brief Prepare for solving. Store initial values of parameters for undo
-  virtual void prepare() override
+  virtual void prepare()
   { /* do nothing */ }
 
   /// \brief Revert solution to initial values
-  virtual void undo() override;
+  virtual void undo();
 
   /// \brief Check the constraint is conflicted with others
-  virtual bool isConflicting(const ConstraintID& theConstraint) const override;
+  virtual bool isConflicting(const ConstraintID& theConstraint) const;
 
   /// \brief Degrees of freedom
-  virtual int dof() const override;
+  virtual int dof() const;
 
 private:
   void collectConflicting();
index 4af3f4e19b4a5642debde4e0dc58a1406bea3e73..05139cf760b7e4632f3d929e3dc07e6e3b0aeae7 100644 (file)
@@ -31,33 +31,33 @@ public:
   /// \param theConstraint       [in]   original SketchPlugin constraint
   /// \param theSolverConstraint [in]   solver's constraint
   virtual void addConstraint(ConstraintPtr        theConstraint,
-                             ConstraintWrapperPtr theSolverConstraint) override;
+                             ConstraintWrapperPtr theSolverConstraint);
 
   /// \brief Add list of temporary constraints which will be destroyed
   ///        after the next solving of the set of constraints.
   /// \param theSolverConstraint [in]  solver's constraint
-  virtual void addTemporaryConstraint(const ConstraintWrapperPtr& theSolverConstraint) override;
+  virtual void addTemporaryConstraint(const ConstraintWrapperPtr& theSolverConstraint);
 
 
   /// \brief Convert feature to the form applicable for specific solver and map it
   /// \param theFeature [in]  feature to convert
   /// \param theForce   [in]  forced feature creation
   /// \return \c true if the feature has been created or updated
-  virtual bool update(FeaturePtr theFeature, bool theForce = false) override;
+  virtual bool update(FeaturePtr theFeature, bool theForce = false);
 
   /// \brief Convert attribute to the form applicable for specific solver and map it
   /// \param theAttribute [in]  attribute to convert
   /// \param theForce     [in]  forced feature creation
   /// \return \c true if the attribute has been created or updated
-  virtual bool update(AttributePtr theAttribute, bool theForce = false) override;
+  virtual bool update(AttributePtr theAttribute, bool theForce = false);
 
 
   /// \brief Removes constraint from the storage
   /// \return \c true if the constraint and all its parameters are removed successfully
-  virtual bool removeConstraint(ConstraintPtr theConstraint) override;
+  virtual bool removeConstraint(ConstraintPtr theConstraint);
 
   /// \brief Update SketchPlugin features after resolving constraints
-  virtual void refresh() const override;
+  virtual void refresh() const;
 
   /// \brief Initialize solver by constraints, entities and parameters
   virtual void initializeSolver();
@@ -68,7 +68,7 @@ public:
   void removeParameters(const GCS::SET_pD& theParams);
 
   /// \brief Remove all features became invalid
-  virtual void removeInvalidEntities() override;
+  virtual void removeInvalidEntities();
 
 private:
   /// \brief Verifies the constraint should not be added into the solver
index d6320f65ecbc56e841ac92dce204d6adae7f1d68..44f36c4653289d989b2bc9d5fe20cf1b096d6804 100644 (file)
@@ -34,10 +34,10 @@ public:
   /// \param theObserver [in]  object which want to receive notifications
   /// \param theType     [in]  receive notifications about changing objects
   ///                          of theType and their derivatives
-  virtual void attach(SketchSolver_Constraint* theObserver, const std::string& theType) override;
+  virtual void attach(SketchSolver_Constraint* theObserver, const std::string& theType);
 
   /// \brief Send notification about update of the feature to all interested
-  virtual void update(const FeaturePtr& theFeature) override;
+  virtual void update(const FeaturePtr& theFeature);
 
   /// \brief Verifies the entities are not coincident yet
   /// \return \c true if the entities does not coincident
index 9da1a6eea54f7a598a0a99e134a1cc18081711e2..b8641e66e3cf4a3fef11e4a80aa317020a8ba788 100644 (file)
@@ -31,10 +31,10 @@ public:
   /// \param theObserver [in]  object which want to receive notifications
   /// \param theType     [in]  receive notifications about changing objects
   ///                          of theType and their derivatives
-  virtual void attach(SketchSolver_Constraint* theObserver, const std::string& theType) override;
+  virtual void attach(SketchSolver_Constraint* theObserver, const std::string& theType);
 
   /// \brief Send notification about update of the feature to all interested
-  virtual void update(const FeaturePtr& theFeature) override;
+  virtual void update(const FeaturePtr& theFeature);
 };
 
 #endif
index 1c6883c063eb2f08709ae236546ab33e7f94ad49..ffd0dffc8d09bc480388a4f2d0ea657018ab059b 100644 (file)
@@ -22,14 +22,14 @@ public:
   {}
 
   /// \brief This method is used in derived objects to check consistence of constraint.
-  virtual void adjustConstraint() override;
+  virtual void adjustConstraint();
 
 protected:
   /// \brief Generate list of attributes of constraint in order useful for constraints
   /// \param[out] theValue      numerical characteristic of constraint (e.g. distance)
   /// \param[out] theAttributes list of attributes to be filled
   virtual void getAttributes(EntityWrapperPtr&              theValue,
-                             std::vector<EntityWrapperPtr>& theAttributes) override;
+                             std::vector<EntityWrapperPtr>& theAttributes);
 
 private:
   int    myType;
index 634618ff2c3c536d97055df6d040829aa4d301ae..46828e9ed9c59ccff31f07764d62bc964bb34e22 100644 (file)
@@ -25,17 +25,17 @@ public:
 
   /// \brief Notify this object about the feature is changed somewhere
   virtual void notify(const FeaturePtr&      theFeature,
-                      PlaneGCSSolver_Update* theUpdater) override;
+                      PlaneGCSSolver_Update* theUpdater);
 
 protected:
   /// \brief Converts SketchPlugin constraint to a list of SolveSpace constraints
-  virtual void process() override;
+  virtual void process();
 
   /// \brief Generate list of attributes of constraint in order useful for constraints
   /// \param[out] theValue      numerical characteristic of constraint (e.g. distance)
   /// \param[out] theAttributes list of attributes to be filled
   virtual void getAttributes(EntityWrapperPtr&              theValue,
-                             std::vector<EntityWrapperPtr>& theAttributes) override;
+                             std::vector<EntityWrapperPtr>& theAttributes);
 
 protected:
   bool myInSolver; ///< shows the constraint is added to the solver
index 08df9670a529740e7b00af0a6d5d6a8defb2eb34..85d540ff7a324702ab1c67796bbd76d7868fd6e9 100644 (file)
@@ -24,18 +24,18 @@ public:
   {}
 
   /// \brief Update constraint
-  virtual void update() override;
+  virtual void update();
 
 protected:
   /// \brief Generate list of attributes of constraint in order useful for constraints
   /// \param[out] theValue      numerical characteristic of constraint (e.g. distance)
   /// \param[out] theAttributes list of attributes to be filled
   virtual void getAttributes(EntityWrapperPtr&              theValue,
-                             std::vector<EntityWrapperPtr>& theAttributes) override;
+                             std::vector<EntityWrapperPtr>& theAttributes);
 
   /// \brief This method is used in derived objects to check consistence of constraint.
   ///        E.g. the distance between line and point may be signed.
-  virtual void adjustConstraint() override;
+  virtual void adjustConstraint();
 
 private:
   double myPrevValue; ///< previous value of distance (for correct calculation of a distance sign)
index 88a03aa16ffdc55a163a9b657d74b650d5192862..3741f93dd9a7083aa9f78169ab6d4abc920bca4b 100644 (file)
@@ -27,7 +27,7 @@ protected:
   /// \param[out] theValue      numerical characteristic of constraint (e.g. distance)
   /// \param[out] theAttributes list of attributes to be filled
   virtual void getAttributes(EntityWrapperPtr&              theValue,
-                             std::vector<EntityWrapperPtr>& theAttributes) override;
+                             std::vector<EntityWrapperPtr>& theAttributes);
 };
 
 #endif
index bccf4402aee14ed1082840f9e08416bb4a45998c..35fc651be42899e3d0440ef8d227bb8dbaaeba53 100644 (file)
@@ -26,17 +26,17 @@ public:
   SketchSolver_ConstraintFixed(FeaturePtr theFeature);
 
   /// \brief Block or unblock events from this constraint
-  virtual void blockEvents(bool isBlocked) override;
+  virtual void blockEvents(bool isBlocked);
 
 protected:
   /// \brief Converts SketchPlugin constraint to a list of SolveSpace constraints
-  virtual void process() override;
+  virtual void process();
 
   /// \brief Generate list of attributes of constraint in order useful for constraints
   /// \param[out] theValue      numerical characteristic of constraint (e.g. distance)
   /// \param[out] theAttributes list of attributes to be filled
   virtual void getAttributes(EntityWrapperPtr&              theValue,
-                             std::vector<EntityWrapperPtr>& theAttributes) override;
+                             std::vector<EntityWrapperPtr>& theAttributes);
 
   /// \brief Fixed feature basing on its type
   /// \param theFeature [in]  feature, converted to solver specific format
index 1626f1c48360aca3e301ca463683c1300c80b4c5..3934b59ff18acbcbc8ec8cc91955207e16f33820 100644 (file)
@@ -27,7 +27,7 @@ protected:
   /// \param[out] theValue      numerical characteristic of constraint (e.g. distance)
   /// \param[out] theAttributes list of attributes to be filled
   virtual void getAttributes(EntityWrapperPtr&              theValue,
-                             std::vector<EntityWrapperPtr>& theAttributes) override;
+                             std::vector<EntityWrapperPtr>& theAttributes);
 };
 
 #endif
index 4d08057043291b181c84c5eff49c83dc212e475a..21bec5642a3e8b84f145c0bad9e8a50dfa3548d9 100644 (file)
@@ -23,14 +23,14 @@ public:
 
   /// \brief Notify this object about the feature is changed somewhere
   virtual void notify(const FeaturePtr&      theFeature,
-                      PlaneGCSSolver_Update* theUpdater) override;
+                      PlaneGCSSolver_Update* theUpdater);
 
 protected:
   /// \brief Generate list of attributes of constraint in order useful for constraints
   /// \param[out] theValue      numerical characteristic of constraint (e.g. distance)
   /// \param[out] theAttributes list of attributes to be filled
   virtual void getAttributes(EntityWrapperPtr&              theValue,
-                             std::vector<EntityWrapperPtr>& theAttributes) override;
+                             std::vector<EntityWrapperPtr>& theAttributes);
 
 private:
   ConstraintWrapperPtr myMiddle;
index ead02ee24a6e93e40e5941e2360cadc2054e1932..fe0ea2e9cfbecf751fad7e6856181d3bd87dd461 100644 (file)
@@ -24,24 +24,24 @@ public:
   {}
 
   /// \brief Update constraint
-  virtual void update() override;
+  virtual void update();
 
   /// \brief Notify this object about the feature is changed somewhere
-  virtual void notify(const FeaturePtr& theFeature, PlaneGCSSolver_Update*) override;
+  virtual void notify(const FeaturePtr& theFeature, PlaneGCSSolver_Update*);
 
   /// \brief Block or unblock events from this constraint
-  virtual void blockEvents(bool isBlocked) override;
+  virtual void blockEvents(bool isBlocked);
 
 protected:
   /// \brief Converts SketchPlugin constraint to a list of SolveSpace constraints
-  virtual void process() override;
+  virtual void process();
 
   /// \brief Generate list of entities of mirror constraint
-  virtual void getAttributes(EntityWrapperPtr&, std::vector<EntityWrapperPtr>&) override;
+  virtual void getAttributes(EntityWrapperPtr&, std::vector<EntityWrapperPtr>&);
 
   /// \brief This method is used in derived objects to check consistence of constraint.
   ///        E.g. the distance between line and point may be signed.
-  virtual void adjustConstraint() override;
+  virtual void adjustConstraint();
 
 private:
   size_t myNumberOfObjects;  ///< number of previously mirrored objects
index ea311e90de68550a340c4de757e46e0e53b6f234..b317fc1dc342b97ad44e1160a0e5e32c862e05dd 100644 (file)
@@ -30,33 +30,33 @@ public:
   {}
 
   /// \brief Update constraint
-  virtual void update() override;
+  virtual void update();
 
   /// \brief Notify this object about the feature is changed somewhere
-  virtual void notify(const FeaturePtr& theFeature, PlaneGCSSolver_Update*) override;
+  virtual void notify(const FeaturePtr& theFeature, PlaneGCSSolver_Update*);
 
   /// \brief Tries to remove constraint
   /// \return \c false, if current constraint contains another SketchPlugin
   /// constraints (like for multiple coincidence)
-  virtual bool remove() override;
+  virtual bool remove();
 
   /// \brief Block or unblock events from this constraint
-  virtual void blockEvents(bool isBlocked) override;
+  virtual void blockEvents(bool isBlocked);
 
 protected:
   /// \brief Converts SketchPlugin constraint to a list of SolveSpace constraints
-  virtual void process() override
+  virtual void process()
   { /* do nothing here */ }
 
   /// \brief Collect entities which are translated or rotated (not their copies)
   void getEntities(std::list<EntityWrapperPtr>& theEntities);
 
   /// \brief Generate list of attributes of constraint in order useful for SolveSpace constraints
-  virtual void getAttributes(EntityWrapperPtr&, std::vector<EntityWrapperPtr>&) override
+  virtual void getAttributes(EntityWrapperPtr&, std::vector<EntityWrapperPtr>&)
   { /* do nothing here */ }
 
   /// \brief This method is used in derived objects to check consistence of constraint.
-  virtual void adjustConstraint() override;
+  virtual void adjustConstraint();
 
   /// \brief Update parameters of derived classes
   virtual void updateLocal() = 0;
index 7a8daf78ddd1f5f01f8eaa90bcdf8364add2b443..faffd938012b73e7f8fdf4bd19e1ac9d5a36330a 100644 (file)
@@ -26,7 +26,7 @@ public:
 
 protected:
   /// \brief Converts SketchPlugin constraint to a list of SolveSpace constraints
-  virtual void process() override;
+  virtual void process();
 
   /// \brief Generate list of rotated entities
   /// \param[out] theCenter   central point of rotation
@@ -39,23 +39,23 @@ protected:
                      std::list<EntityWrapperPtr>& theEntities);
 
   /// \brief This method is used in derived objects to check consistence of constraint.
-  virtual void adjustConstraint() override;
+  virtual void adjustConstraint();
 
   /// \brief Update parameters (called from base class)
-  virtual void updateLocal() override;
+  virtual void updateLocal();
 
 private:
   /// \brief Convert absolute coordinates to relative coordinates
   virtual void getRelative(double theAbsX, double theAbsY,
-                           double& theRelX, double& theRelY) override;
+                           double& theRelX, double& theRelY);
   /// \brief Convert relative coordinates to absolute coordinates
   virtual void getAbsolute(double theRelX, double theRelY,
-                           double& theAbsX, double& theAbsY) override;
+                           double& theAbsX, double& theAbsY);
   /// \brief Apply transformation for relative coordinates
-  virtual void transformRelative(double& theX, double& theY) override;
+  virtual void transformRelative(double& theX, double& theY);
 
   /// \brief Returns name of NUMBER_OF_COPIES parameter for corresponding feature
-  virtual const std::string& nameNbObjects() override;
+  virtual const std::string& nameNbObjects();
 
 private:
   AttributePoint2DPtr myCenterPointAttribute; ///< a center of rotation
index 60e70f21ca6c1176aa887e5cd1277cc51c8e8f96..6b71d30db6ef173889e74204355b27584aa889c5 100644 (file)
@@ -26,7 +26,7 @@ public:
 
 protected:
   /// \brief Converts SketchPlugin constraint to a list of SolveSpace constraints
-  virtual void process() override;
+  virtual void process();
 
   /// \brief Generate list of translated entities
   /// \param[out] theStartPoint start point of translation
@@ -37,23 +37,23 @@ protected:
                      bool& theFullValue, std::list<EntityWrapperPtr>& theEntities);
 
   /// \brief This method is used in derived objects to check consistence of constraint.
-  virtual void adjustConstraint() override;
+  virtual void adjustConstraint();
 
   /// \brief Update parameters (called from base class)
-  virtual void updateLocal() override;
+  virtual void updateLocal();
 
 private:
   /// \brief Convert absolute coordinates to relative coordinates
   virtual void getRelative(double theAbsX, double theAbsY,
-                           double& theRelX, double& theRelY) override;
+                           double& theRelX, double& theRelY);
   /// \brief Convert relative coordinates to absolute coordinates
   virtual void getAbsolute(double theRelX, double theRelY,
-                           double& theAbsX, double& theAbsY) override;
+                           double& theAbsX, double& theAbsY);
   /// \brief Apply transformation for relative coordinates
-  virtual void transformRelative(double& theX, double& theY) override;
+  virtual void transformRelative(double& theX, double& theY);
 
   /// \brief Returns name of NUMBER_OF_COPIES parameter for corresponding feature
-  virtual const std::string& nameNbObjects() override;
+  virtual const std::string& nameNbObjects();
 
 private:
   AttributePoint2DPtr myStartPointAttribute;
index 35e724420534f8bd0cfbab00f67cef8eec5aafc5..221450083730a2949a98e59e79f7fa7b132aca8c 100644 (file)
@@ -28,11 +28,11 @@ protected:
   /// \param[out] theValue      numerical characteristic of constraint (e.g. distance)
   /// \param[out] theAttributes list of attributes to be filled
   virtual void getAttributes(EntityWrapperPtr&              theValue,
-                             std::vector<EntityWrapperPtr>& theAttributes) override;
+                             std::vector<EntityWrapperPtr>& theAttributes);
 
   /// \brief This method is used in derived objects to check consistency of constraint.
   ///        E.g. the distance between line and point may be signed.
-  virtual void adjustConstraint() override;
+  virtual void adjustConstraint();
 
 private:
   bool isArcArcInternal;