version 1.28.4.7, 2009/10/16 11:05:46
|
version 1.28.4.8, 2009/10/21 15:49:32
|
|
|
// we simply clone using the ObjectPathOnly option. | // we simply clone using the ObjectPathOnly option. |
SCMOInstance* nRef = new SCMOInstance(ref->clone(true)); | SCMOInstance* nRef = new SCMOInstance(ref->clone(true)); |
CMPIObjectPath* cmpiObjPath = | CMPIObjectPath* cmpiObjPath = |
reinterpret_cast<CMPIObjectPath *>(new CMPI_Object(nRef)); |
reinterpret_cast<CMPIObjectPath *> |
|
(new CMPI_Object(nRef,CMPI_Object::ObjectTypeObjectPath)); |
CMSetStatus(rc,CMPI_RC_OK); | CMSetStatus(rc,CMPI_RC_OK); |
return cmpiObjPath; | return cmpiObjPath; |
} | } |