Changeset 2183


Ignore:
Timestamp:
06/17/03 13:04:38 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2182 r2183  
    88   * mmain/MStatusDisplay.cc:
    99     - fixed UpdatePSHeader for gcc 3.* and Suse 8.2
     10
     11   * manalysis/MCurrents.h:
     12     - fixed a bug in the const operator[]
    1013
    1114
  • trunk/MagicSoft/Mars/manalysis/MCurrents.h

    r2180 r2183  
    2727    UInt_t GetCurrent(Int_t i) const { return (*this)[i]; }
    2828    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]; }
    3030
    3131    UInt_t GetMin() const;
Note: See TracChangeset for help on using the changeset viewer.