Changeset 2885 in Sophya for trunk/SophyaLib/SkyMap/localmap.h


Ignore:
Timestamp:
Jan 4, 2006, 2:36:47 PM (20 years ago)
Author:
ansari
Message:

Modifs (ajout this->) pour compilation avec g++ 4 (V >= 3.4) - Reza 4 Jan 2006

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/SkyMap/localmap.h

    r2433 r2885  
    5454// ---------- Overloading of () to access pixel number k ----
    5555
    56 inline T& operator()(int_4 k) {return(PixVal(k));}
    57 inline T const& operator()(int_4 k) const {return(PixVal(k));}
    58 inline T& operator()(int_4 ix, int_4 iy) {return PixVal(iy*nSzX_+ix);};
    59 inline T const& operator()(int_4 ix, int_4 iy) const {return PixVal(iy*nSzX_+ix);};
     56inline T& operator()(int_4 k) {return(this->PixVal(k));}
     57inline T const& operator()(int_4 k) const {return(this->PixVal(k));}
     58inline T& operator()(int_4 ix, int_4 iy) {return this->PixVal(iy*nSzX_+ix);};
     59inline T const& operator()(int_4 ix, int_4 iy) const {return this->PixVal(iy*nSzX_+ix);};
    6060
    6161// Acces a un pixel
    62 inline T& operator()(double theta,double phi) {return(PixValSph(theta,phi));};
    63 inline T  const& operator()(double theta,double phi) const {return(PixValSph(theta,phi));};
     62inline T& operator()(double theta,double phi) {return(this->PixValSph(theta,phi));};
     63inline T  const& operator()(double theta,double phi) const {return(this->PixValSph(theta,phi));};
    6464   
    6565// ---------- Definition of PixelMap abstract methods -------
Note: See TracChangeset for help on using the changeset viewer.