Browse Source

Merge pull request #3954 from ihsinme/patch-1

the expression does not throw an exception.
Kim Kulling 4 năm trước cách đây
mục cha
commit
bf82caba18
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      contrib/poly2tri/poly2tri/sweep/sweep.cc

+ 1 - 1
contrib/poly2tri/poly2tri/sweep/sweep.cc

@@ -129,7 +129,7 @@ void Sweep::EdgeEvent(SweepContext& tcx, Point& ep, Point& eq, Triangle* triangl
       EdgeEvent( tcx, ep, *p1, triangle, *p1 );
     } else {
 	  // ASSIMP_CHANGE (aramis_acg)
-      std::runtime_error("EdgeEvent - collinear points not supported");
+      throw std::runtime_error("EdgeEvent - collinear points not supported");
     }
     return;
   }