Changeset 3572 in Sophya for trunk/SophyaPI/ProgPI/piapp.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/SophyaPI/ProgPI/piapp.cc

    r3410 r3572  
    1313#include "timing.h"
    1414#include "skyinit.h"
    15 
    16 #include "xntuple.h" // Pour faire le SetTmpDir()
    1715
    1816
     
    177175}
    178176
    179 char* tmpde = getenv("TMPDIR");
     177const char* tmpde = getenv("TMPDIR");
    180178char  tmpdname[32];
    181179if (tmpde == NULL) tmpde = "./";
     
    198196}
    199197
    200 cout << "  NamedObjMgr::SetTmpDir()+XNTuple::SetSwapPath() " << tmpdir << endl;
     198cout << "  NamedObjMgr::SetTmpDir() " << tmpdir << endl;
    201199app->ObjMgr()->SetTmpDir(tmpdir);
    202 XNTuple::SetSwapPath(const_cast<char *>(tmpdir.c_str()));
    203200
    204201// Gestion de redirection stdout/err et Signaux
Note: See TracChangeset for help on using the changeset viewer.