[openrtm-commit:02608] r2991 - trunk/OpenRTM-aist/src/lib/rtm
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 5月 8日 (月) 16:52:36 JST
Author: kawauchi
Date: 2017-05-08 16:52:35 +0900 (Mon, 08 May 2017)
New Revision: 2991
Modified:
trunk/OpenRTM-aist/src/lib/rtm/ManagerServant.cpp
Log:
[compat,bugfix] c_str() has been added to std::string.
Modified: trunk/OpenRTM-aist/src/lib/rtm/ManagerServant.cpp
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/ManagerServant.cpp 2017-04-26 13:48:07 UTC (rev 2990)
+++ trunk/OpenRTM-aist/src/lib/rtm/ManagerServant.cpp 2017-05-08 07:52:35 UTC (rev 2991)
@@ -859,7 +859,7 @@
#endif // ORB_IS_RTORB
// Object activation
- RTC_DEBUG(("Activating manager with id(%s)", config["manager.name"]));
+ RTC_DEBUG(("Activating manager with id(%s)", config["manager.name"].c_str()));
poa->activate_object_with_id(id.in(), this);
CORBA::Object_var mgrobj = poa->id_to_reference(id);
@@ -1031,7 +1031,7 @@
// detect languange
std::string lang = param["language"];
if (lang.empty()) { lang = "C++"; }
- RTC_INFO(("Specified manager's language: %s", lang));
+ RTC_INFO(("Specified manager's language: %s", lang.c_str()));
RTM::Manager_var mgrobj = findManagerByName(mgrstr);
if (CORBA::is_nil(mgrobj))
@@ -1136,7 +1136,7 @@
// detect languange
std::string lang = param["language"];
if (lang.empty()) { lang = "C++"; }
- RTC_INFO(("Specified manager's language: %s", lang));
+ RTC_INFO(("Specified manager's language: %s", lang.c_str()));
// find manager
RTM::Manager_var mgrobj = findManager(mgrstr);
openrtm-commit メーリングリストの案内