Revision: 73861
          http://sourceforge.net/p/brlcad/code/73861
Author:   starseeker
Date:     2019-09-09 19:33:20 +0000 (Mon, 09 Sep 2019)
Log Message:
-----------
curBranch is supposed to be a pointer.

Modified Paths:
--------------
    brlcad/trunk/src/libbrep/RTree.h

Modified: brlcad/trunk/src/libbrep/RTree.h
===================================================================
--- brlcad/trunk/src/libbrep/RTree.h    2019-09-09 15:49:15 UTC (rev 73860)
+++ brlcad/trunk/src/libbrep/RTree.h    2019-09-09 19:33:20 UTC (rev 73861)
@@ -790,7 +790,7 @@
     {
         for (int index = 0; index < a_node->m_count; ++index)
         {
-            const auto& curBranch = a_node->m_branch[index];
+            const auto& curBranch = &a_node->m_branch[index];
 
             a_stream.WriteArray(curBranch->m_rect.m_min, kNumDimensions);
             a_stream.WriteArray(curBranch->m_rect.m_max, kNumDimensions);

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



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to