Changeset 13295 for trunk/Mars


Ignore:
Timestamp:
04/02/12 13:48:15 (13 years ago)
Author:
tbretz
Message:
Removed an obsolete const-cast.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mhist/MHCamera.h

    r13001 r13295  
    129129    const MGeomCam* GetGeometry() const { return fGeomCam; }
    130130
    131     Bool_t IsUsed(Int_t idx) const { return TESTBIT(const_cast<TArrayC&>(fUsed)[idx], kIsUsed); }
     131    Bool_t IsUsed(Int_t idx) const { return TESTBIT(fUsed[idx], kIsUsed); }
    132132    void   SetUsed(Int_t idx)      { SETBIT(fUsed[idx], kIsUsed); }
    133133    void   SetAllUsed()            { fUsed.Reset(BIT(kIsUsed)); }
Note: See TracChangeset for help on using the changeset viewer.