Changeset 4916


Ignore:
Timestamp:
09/10/04 09:51:06 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r4915 r4916  
    2525     - removed some obsolete const_casts
    2626     - fixed an (un)signed comparison warning
     27
     28   * mbase/MArray*.h:
     29     - added const &operator[](UInt_t i) const
    2730
    2831
  • trunk/MagicSoft/Mars/mbase/MArrayI.h

    r4752 r4916  
    151151        return fArray[i];
    152152    }
     153    const Int_t &operator[](UInt_t i) const
     154    {
     155        return fArray[i];
     156    }
    153157
    154158    ClassDef(MArrayI, 1)  //Array of Int_t
  • trunk/MagicSoft/Mars/mbase/MArrayS.h

    r1014 r4916  
    159159        return fArray[i];
    160160    }
     161    const UShort_t &operator[](UInt_t i) const
     162    {
     163        return fArray[i];
     164    }
    161165
    162166    ClassDef(MArrayS, 1)  //Array of UShort_t
Note: See TracChangeset for help on using the changeset viewer.