Bug fixed: Removing casting to a TString when not dealing with a pointer.
authorzampolli <zampolli@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 14 Jul 2009 12:06:18 +0000 (12:06 +0000)
committerzampolli <zampolli@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 14 Jul 2009 12:06:18 +0000 (12:06 +0000)
SHUTTLE/AliShuttle.cxx

index fdd3c6f..b56d263 100644 (file)
@@ -3482,7 +3482,7 @@ Bool_t AliShuttle::TouchFile()
                return kFALSE;
        }
        TObjString *valueLsPath = dynamic_cast<TObjString*>(mapLs->GetValue("path"));
-       if (!valueLsPath || (TString)(valueLsPath->GetString()).CompareTo(dir)!=1){ 
+       if (!valueLsPath || (valueLsPath->GetString()).CompareTo(dir)!=1){ 
                Log("SHUTTLE",Form("No directory %s found, creating it",dir.Data()));
 
                // creating the directory