Explorar o código

const_iterator

David Rose %!s(int64=24) %!d(string=hai) anos
pai
achega
bb53364155
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      panda/src/pgraph/pandaNode.cxx

+ 1 - 1
panda/src/pgraph/pandaNode.cxx

@@ -504,7 +504,7 @@ get_component(NodeChainComponent *parent, PandaNode *child_node) {
     // First, walk through the list of NodeChainComponents we already
     // First, walk through the list of NodeChainComponents we already
     // have on the child, looking for one that already exists,
     // have on the child, looking for one that already exists,
     // referencing the indicated parent component.
     // referencing the indicated parent component.
-    Chains::iterator ci;
+    Chains::const_iterator ci;
     for (ci = cdata_child->_chains.begin(); 
     for (ci = cdata_child->_chains.begin(); 
          ci != cdata_child->_chains.end(); 
          ci != cdata_child->_chains.end(); 
          ++ci) {
          ++ci) {