Commit 0f32d69d authored by Reza  ANSARI's avatar Reza ANSARI
Browse files

Ajout qualification std manquant devant string ds fitsarrhand.h - , Reza

parent c3f065d3
......@@ -45,7 +45,7 @@ public :
{
TArray<T> * po = dynamic_cast< TArray<T> * >(& o);
if (po == NULL) {
string msg = "FitsArrayHandler<T>::SetDataObj() Wrong object type: " ;
std::string msg = "FitsArrayHandler<T>::SetDataObj() Wrong object type: " ;
msg += typeid(o).name();
throw TypeMismatchExc(msg);
}
......@@ -138,9 +138,9 @@ public :
// On verifie l'existence de cles WCS ...
bool fghaswcs=false;
string key="CRVAL1";
std::string key="CRVAL1";
bool fgcrv1=false;
string keyval=is.KeyValue(key,fgcrv1);
std::string keyval=is.KeyValue(key,fgcrv1);
key="CRVAL2";
bool fgcrv2=false;
keyval=is.KeyValue(key,fgcrv2);
......@@ -192,7 +192,7 @@ public :
// read header records
is.GetHeaderRecords(dobj->Info());
// and manage the associated Unit ...
string kuns="SOPUNITS";
std::string kuns="SOPUNITS";
if (dobj->Info().HasKey(kuns)) {
Units un(dobj->Info().GetS(kuns));
dobj->SetUnits(un);
......@@ -230,7 +230,7 @@ public :
// read header records
is.GetHeaderRecords(dobj->Info());
// and manage the associated Unit ...
string kuns="SOPUNITS";
std::string kuns="SOPUNITS";
if (dobj->Info().HasKey(kuns)) {
Units un(dobj->Info().GetS(kuns));
dobj->SetUnits(un);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment