[openrtm-commit:02108] r2800 - trunk/OpenRTM-aist/examples/SimpleIO
openrtm @ openrtm.org
openrtm @ openrtm.org
2016年 11月 15日 (火) 18:37:34 JST
Author: kawauchi
Date: 2016-11-15 18:37:34 +0900 (Tue, 15 Nov 2016)
New Revision: 2800
Modified:
trunk/OpenRTM-aist/examples/SimpleIO/ConnectorComp.cpp
Log:
Initialization of connector_id was corrected. refs #3708
Modified: trunk/OpenRTM-aist/examples/SimpleIO/ConnectorComp.cpp
===================================================================
--- trunk/OpenRTM-aist/examples/SimpleIO/ConnectorComp.cpp 2016-11-14 23:55:02 UTC (rev 2799)
+++ trunk/OpenRTM-aist/examples/SimpleIO/ConnectorComp.cpp 2016-11-15 09:37:34 UTC (rev 2800)
@@ -223,7 +223,7 @@
// connect ports
ConnectorProfile prof;
- prof.connector_id = (char*)"";
+ prof.connector_id = CORBA::string_dup("");
prof.name = CORBA::string_dup("connector0");
prof.ports.length(2);
prof.ports[0] = pin[(CORBA::ULong)0];
More information about the openrtm-commit
mailing list