diff --git a/vlsisapd/src/openChams/src/SlicingTree.cpp b/vlsisapd/src/openChams/src/SlicingTree.cpp index 6453a7ff..4789bfe8 100644 --- a/vlsisapd/src/openChams/src/SlicingTree.cpp +++ b/vlsisapd/src/openChams/src/SlicingTree.cpp @@ -268,7 +268,7 @@ namespace OpenChams { } - list > SlicingNode::getSymmetries () const + const list > SlicingNode::getSymmetries () const { cerr << "Error(list > SlicingNode::getSymmetries () const): Symmetries are used in Horizontal or Vertical Node only." << endl; return list >(); diff --git a/vlsisapd/src/openChams/src/vlsisapd/openChams/SlicingTree.h b/vlsisapd/src/openChams/src/vlsisapd/openChams/SlicingTree.h index 3bcb21ce..2112e317 100644 --- a/vlsisapd/src/openChams/src/vlsisapd/openChams/SlicingTree.h +++ b/vlsisapd/src/openChams/src/vlsisapd/openChams/SlicingTree.h @@ -88,8 +88,8 @@ namespace OpenChams { virtual void setStep ( double step ); virtual void setCount ( double count ); - virtual const std::vector getChildren () const; - virtual std::list > getSymmetries () const; + virtual const std::vector getChildren () const; + virtual const std::list > getSymmetries () const; virtual double getToleranceRatioH() const; virtual double getToleranceRatioW() const; @@ -253,8 +253,9 @@ namespace OpenChams { inline double getToleranceRatioW() const; inline double getToleranceBandH () const; inline double getToleranceBandW () const; - inline const std::vector getChildren () const; - inline std::list > getSymmetries () const; + + inline const std::vector getChildren () const; + inline const std::list > getSymmetries() const; void setToleranceRatioH( std::string value ); void setToleranceRatioW( std::string value ); @@ -299,8 +300,9 @@ namespace OpenChams { inline double HVSlicingNode::getToleranceRatioW() const { return _toleranceRatioW; } inline double HVSlicingNode::getToleranceBandH () const { return _toleranceBandH ; } inline double HVSlicingNode::getToleranceBandW () const { return _toleranceBandW ; } - inline const std::vector HVSlicingNode::getChildren () const { return _children ; } - inline std::list > HVSlicingNode::getSymmetries () const { return _symmetries ; } + + inline const std::vector HVSlicingNode::getChildren () const { return _children ; } + inline const std::list > HVSlicingNode::getSymmetries() const { return _symmetries ; } inline std::string HVSlicingNode::toleranceRatioHToString() const { return std::to_string(_toleranceRatioH); } inline std::string HVSlicingNode::toleranceRatioWToString() const { return std::to_string(_toleranceRatioW); }