[openrtm-commit:02226] r2839 - branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 1月 16日 (月) 15:19:18 JST
Author: sec_fukai
Date: 2017-01-16 15:19:18 +0900 (Mon, 16 Jan 2017)
New Revision: 2839
Modified:
branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/LocalServiceAdmin.cpp
branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/LocalServiceAdmin.h
Log:
[incompat,->DEV_IQ_2016] Modify argument from value to reference. refs #3795
Modified: branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/LocalServiceAdmin.cpp
===================================================================
--- branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/LocalServiceAdmin.cpp 2017-01-16 06:09:20 UTC (rev 2838)
+++ branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/LocalServiceAdmin.cpp 2017-01-16 06:19:18 UTC (rev 2839)
@@ -218,7 +218,7 @@
* @brief Remove a LocalService
* @endif
*/
- bool LocalServiceAdmin::removeLocalService(const std::string name)
+ bool LocalServiceAdmin::removeLocalService(const std::string& name)
{
RTC_TRACE(("removeLocalService(%d)", name.c_str()));
Guard gurad(m_services_mutex);
Modified: branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/LocalServiceAdmin.h
===================================================================
--- branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/LocalServiceAdmin.h 2017-01-16 06:09:20 UTC (rev 2838)
+++ branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/LocalServiceAdmin.h 2017-01-16 06:19:18 UTC (rev 2839)
@@ -231,7 +231,7 @@
*
* @endif
*/
- bool removeLocalService(const std::string name);
+ bool removeLocalService(const std::string& name);
private:
/*!
More information about the openrtm-commit
mailing list