]> OCCT Git - occt-copy.git/commitdiff
Adding method Perform() without theRange CR21264
authorakaftasev <akaftasev@opencascade.com>
Thu, 6 May 2021 11:50:09 +0000 (14:50 +0300)
committerakaftasev <akaftasev@opencascade.com>
Thu, 6 May 2021 11:50:09 +0000 (14:50 +0300)
src/BOPAlgo/BOPAlgo_Algo.hxx
src/BOPAlgo/BOPAlgo_PaveFiller_2.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_3.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_4.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_5.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_6.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_7.cxx

index 42920ef589d9a4953a7d1a5ba3dee6884a9917c4..029bb00e24fb08fb2977032486c16edd19362495 100644 (file)
@@ -33,7 +33,9 @@ public:
 
   DEFINE_STANDARD_ALLOC
 
-  Standard_EXPORT virtual void Perform(const Message_ProgressRange& theRange = Message_ProgressRange()) = 0;
+  Standard_EXPORT virtual void Perform(const Message_ProgressRange& /*theRange*/ = Message_ProgressRange()) {};
+
+  Standard_EXPORT virtual void Perform() {};
 
 protected:
 
index 8416cc3374641292feb1244b6640b75a394bb661..dd8040749a4b1de09507de0c16ba483932601b5a 100644 (file)
@@ -114,7 +114,7 @@ class BOPAlgo_VertexEdge : public BOPAlgo_Algo {
     myRange = theRange;
   }
   //
-  virtual void Perform(const Message_ProgressRange& /*theRange*/ = Message_ProgressRange()) {
+  virtual void Perform() {
     Message_ProgressScope aPS(myRange, NULL, 1);
     if (UserBreak(aPS))
     {
index e9681f484960e7d71963f30cba86f3f296598a99..1cefdbf7f69833d703d664a682caae5e149e96c2 100644 (file)
@@ -106,7 +106,7 @@ class BOPAlgo_EdgeEdge :
     myRange = theRange;
   }
   //
-  virtual void Perform(const Message_ProgressRange& /*theRange*/ = Message_ProgressRange()) {
+  virtual void Perform() {
     Message_ProgressScope aPS(myRange, NULL, 1);
     if (UserBreak(aPS))
     {
index 5e7abe6711ed90b6d550466e009cb730dc66a1d1..75114203a7deda28348544d88914e59b49fc9dea 100644 (file)
@@ -111,7 +111,7 @@ class BOPAlgo_VertexFace : public BOPAlgo_Algo {
     myRange = theRange;
   }
   //
-  virtual void Perform(const Message_ProgressRange& /*theRange*/ = Message_ProgressRange()) {
+  virtual void Perform() {
     Message_ProgressScope aPS(myRange, NULL, 1);
     if (UserBreak(aPS))
     {
index 03f3580828419c11a6d200b5adc4401d35645729..abda6a57b091262031979ac638d0de01ec14b948 100644 (file)
@@ -117,7 +117,7 @@ class BOPAlgo_EdgeFace :
     myRange = theRange;
   }
   //
-  virtual void Perform(const Message_ProgressRange& /*theRange*/ = Message_ProgressRange()) {
+  virtual void Perform() {
     Message_ProgressScope aPS(myRange, NULL, 1);
     if (UserBreak(aPS))
     {
index 922b228f0376940699085ae0e6ce095f224dc860..1e82fedebc9a7bfe494434d5b51a829ad5a82f73 100644 (file)
@@ -157,7 +157,7 @@ class BOPAlgo_FaceFace :
   //
   const gp_Trsf& Trsf() const { return myTrsf; }
   //
-  virtual void Perform(const Message_ProgressRange& /*theRange*/ = Message_ProgressRange()) {
+  virtual void Perform() {
     Message_ProgressScope aPS(myRange, NULL, 1);
     if (UserBreak(aPS))
     {
index 1e3934a668b1431210119887278a1fd341131125..2400febd33b207e359b08b5a6732c5b0f5f5f29f 100644 (file)
@@ -143,7 +143,7 @@ class BOPAlgo_SplitEdge : public BOPAlgo_Algo  {
     myRange = theRange;
   }
   //
-  virtual void Perform (const Message_ProgressRange& /*theRange*/ = Message_ProgressRange()) {
+  virtual void Perform () {
     Message_ProgressScope aPS(myRange, NULL, 1);
     if (UserBreak(aPS))
     {
@@ -248,7 +248,7 @@ class BOPAlgo_MPC : public BOPAlgo_Algo  {
     myRange = theRange;
   }
   //
-  virtual void Perform(const Message_ProgressRange& /*theRange*/ = Message_ProgressRange()) {
+  virtual void Perform() {
     Message_ProgressScope aPS(myRange, NULL, 1);
     if (UserBreak(aPS))
     {