Revision: 57018
          http://sourceforge.net/p/brlcad/code/57018
Author:   phoenixyjll
Date:     2013-08-21 10:15:44 +0000 (Wed, 21 Aug 2013)
Log Message:
-----------
Use ON_ClassArray instead of ON_SimpleArray when the element type is std::pair.

Modified Paths:
--------------
    brlcad/trunk/src/libbrep/boolean.cpp

Modified: brlcad/trunk/src/libbrep/boolean.cpp
===================================================================
--- brlcad/trunk/src/libbrep/boolean.cpp        2013-08-21 10:07:35 UTC (rev 
57017)
+++ brlcad/trunk/src/libbrep/boolean.cpp        2013-08-21 10:15:44 UTC (rev 
57018)
@@ -572,7 +572,7 @@
     // the start point and end point of an outerloop segment
     // outerloop_start_end[] and outerloop[] should have the same size, and
     // outerloop_start_end[i] should be corresponding to outerloop[i] exactly.
-    ON_SimpleArray<std::pair<IntersectPoint, IntersectPoint> > 
outerloop_start_end;
+    ON_ClassArray<std::pair<IntersectPoint, IntersectPoint> > 
outerloop_start_end;
 #endif
     int isect_iter = 0;
     for (int i = 0; i < in->outerloop.Count(); i++) {
@@ -704,7 +704,7 @@
        // need to form a new loop
        ON_SimpleArray<ON_Curve*> newloop;
 #if USE_CONNECTIVITY_GRAPH
-       ON_SimpleArray<std::pair<IntersectPoint, IntersectPoint> > 
newloop_start_end;
+       ON_ClassArray<std::pair<IntersectPoint, IntersectPoint> > 
newloop_start_end;
 #endif
        int curve_count = q.m_pos - p.m_pos;
        for (int j = p.m_pos + 1; j <= q.m_pos; j++) {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to