From: kgv Date: Fri, 20 Jul 2018 08:08:34 +0000 (+0300) Subject: 0029970: Coding Rules - StdSelect_BRepOwner::Set() method is declared but undefined X-Git-Tag: OCCT_VC2017_73~53 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=6e3a8b035db817979d40a70aedd23ec7420bde10;p=occt.git 0029970: Coding Rules - StdSelect_BRepOwner::Set() method is declared but undefined Undefined method has been removed. --- diff --git a/src/StdSelect/StdSelect_BRepOwner.hxx b/src/StdSelect/StdSelect_BRepOwner.hxx index 7d31b20d78..a03c4ca3c6 100644 --- a/src/StdSelect/StdSelect_BRepOwner.hxx +++ b/src/StdSelect/StdSelect_BRepOwner.hxx @@ -70,10 +70,7 @@ public: //! returns False if no shape was set Standard_Boolean HasShape() const { return !myShape.IsNull(); } - //! indicates whether - //! comes from decomposition of a bigger shape. - Standard_EXPORT void Set (const TopoDS_Shape& aShape, const Standard_Boolean FromDecomposition = Standard_False); - + //! Returns the shape. const TopoDS_Shape& Shape() const { return myShape; } //! Returns true if this framework has a highlight mode defined for it.