Changeset 3572 in Sophya for trunk/SophyaProg/PMixer/skymixer.cc


Ignore:
Timestamp:
Feb 7, 2009, 10:50:34 PM (17 years ago)
Author:
cmv
Message:

char* -> const char* pour regler les problemes de deprecated string const... + comparaison unsigned signed + suppression EVOL_PLANCK rz+cmv 07/02/2009

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaProg/PMixer/skymixer.cc

    r3051 r3572  
    958958  // Cleaning the keywords
    959959#define SZexlst 21
    960   char *exlst[SZexlst]=
     960  const char *exlst[SZexlst]=
    961961  {"SIMPLE","BITPIX" ,"NAXIS" ,"NAXIS#" ,"PCOUNT","GCOUNT",
    962962     "EXTEND","ORIGIN" ,"DATE*" ,"TFIELDS","TTYPE#","TFORM#",
     
    994994  // Cleaning the keywords
    995995#define SZexlst 21
    996   char *exlst[SZexlst]=
     996  const char *exlst[SZexlst]=
    997997  {"SIMPLE","BITPIX" ,"NAXIS" ,"NAXIS#" ,"PCOUNT","GCOUNT",
    998998     "EXTEND","ORIGIN" ,"DATE*" ,"TFIELDS","TTYPE#","TFORM#",
     
    10281028void RadSpec2Nt(RadSpectra & rs, POutPersist & so, string name)
    10291029{
    1030   char *ntn[2] = {"nu","fnu"};
     1030  const char *ntn[2] = {"nu","fnu"};
    10311031  NTuple nt(2,ntn);  // Creation NTuple (AVEC new )
    10321032  float xnt[2];
     
    10501050void SpectralResponse2Nt(SpectralResponse& sr, POutPersist & so, string name)
    10511051{
    1052   char *ntn[2] = {"nu","tnu"};
     1052  const char *ntn[2] = {"nu","tnu"};
    10531053  NTuple nt(2,ntn);  // Creation NTuple (AVEC new )
    10541054  float xnt[2];
Note: See TracChangeset for help on using the changeset viewer.