From bb533641555f4a5c27231a49bf3d6778b1493001 Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 26 Feb 2002 23:25:54 +0000 Subject: [PATCH] const_iterator --- panda/src/pgraph/pandaNode.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/pgraph/pandaNode.cxx b/panda/src/pgraph/pandaNode.cxx index a8dba7e294..3a2de2eddf 100644 --- a/panda/src/pgraph/pandaNode.cxx +++ b/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 // have on the child, looking for one that already exists, // referencing the indicated parent component. - Chains::iterator ci; + Chains::const_iterator ci; for (ci = cdata_child->_chains.begin(); ci != cdata_child->_chains.end(); ++ci) {