]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
CCAR: correct way to handle String_member as an in argument (use in() method)
authorcaremoli <caremoli>
Mon, 28 Jan 2008 09:38:43 +0000 (09:38 +0000)
committercaremoli <caremoli>
Mon, 28 Jan 2008 09:38:43 +0000 (09:38 +0000)
src/NamingService/SALOME_NamingService.cxx

index 3c4b7e5a2aa2610386508d3afc86b7ec785937b2..965982293b32d97fd5e03564deb4631bb21248c4 100644 (file)
@@ -1065,7 +1065,7 @@ throw(ServiceUnreachable)
 
       if (binding->binding_type == CosNaming::ncontext)
         {
-          dirList.push_back((const char*)bindingName[0].id);
+          dirList.push_back(bindingName[0].id.in());
         }
     }