]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fixed bug in method Impl_SaveAs, replaced char* by string, now map of drivers works...
authorsrn <srn@opencascade.com>
Thu, 26 Apr 2007 06:14:49 +0000 (06:14 +0000)
committersrn <srn@opencascade.com>
Thu, 26 Apr 2007 06:14:49 +0000 (06:14 +0000)
src/SALOMEDSImpl/SALOMEDSImpl_StudyManager.cxx

index 17bad0e6a0a5bb8cf2705c6022b8d9a0cb7b4a15..e1059aeabf5f93f138abf238d69c9d52923a79cd 100644 (file)
@@ -500,7 +500,7 @@ bool SALOMEDSImpl_StudyManager::Impl_SaveAs(const TCollection_AsciiString& aUrl,
   if (aLocked) aStudy->GetProperties()->SetLocked(false);
 
   Handle(SALOMEDSImpl_StudyBuilder) SB= aStudy->NewBuilder();
-  map<char*, SALOMEDSImpl_Driver*> aMapTypeDriver;
+  map<string, SALOMEDSImpl_Driver*> aMapTypeDriver;
 
   if(aStudy.IsNull()) {
     _errorCode = "Study is null";