hi -

it has long been that the methods that dereference a const
datavector&lt;t&gt; (operator[], etc), return a `const t*',
even though the value_type is `t*'.

however, datavector&lt;t&gt;::const_iterator has been inconsistent with this,
in that dereferencing the iterator returns a `t*'.

we are trying to change this feature of datavector::const_iterator, so that
dereferencing it will also return a `const t*', consistent with
datavector.  we hope this will help catch instances where
data objects are unintentionally modified.

these changes are in datamodel-00-23-21.
unfortunately, this requires some changes in client packages.

here are the changes in calotrkmuid that were required to be
compatible with these changes.


+verbatim+
index: src/cbntaa_calotrkmuid.cxx
===================================================================
--- src/cbntaa_calotrkmuid.cxx	(revision 447210)
+++ src/cbntaa_calotrkmuid.cxx	(working copy)
@@ -180,7 +180,7 @@
 
   rec::trackparticlecontainer::const_iterator it;
   for (it=trackpartcol-&gt;begin(); it&lt;trackpartcol-&gt;end(); it++) {
-    rec::trackparticle* particle = *it;
+    const rec::trackparticle* particle = *it;
     if (!selectcosmic(particle)) {
       continue;
     }
-verbatim-
