Changeset 2183
- Timestamp:
- 06/17/03 13:04:38 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2182 r2183 8 8 * mmain/MStatusDisplay.cc: 9 9 - fixed UpdatePSHeader for gcc 3.* and Suse 8.2 10 11 * manalysis/MCurrents.h: 12 - fixed a bug in the const operator[] 10 13 11 14 -
trunk/MagicSoft/Mars/manalysis/MCurrents.h
r2180 r2183 27 27 UInt_t GetCurrent(Int_t i) const { return (*this)[i]; } 28 28 UInt_t &operator[](Int_t i) { return (UInt_t&)fArray[i]; } 29 const UInt_t &operator[](Int_t i) const { return (* this)[i]; }29 const UInt_t &operator[](Int_t i) const { return (*const_cast<MCurrents*>(this))[i]; } 30 30 31 31 UInt_t GetMin() const;
Note:
See TracChangeset
for help on using the changeset viewer.