[openrtm-commit:02241] r2851 - branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 1月 17日 (火) 19:47:48 JST
Author: sec_fukai
Date: 2017-01-17 19:47:48 +0900 (Tue, 17 Jan 2017)
New Revision: 2851
Modified:
branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/Manager.cpp
branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/Manager.h
Log:
[incompat,->DEV_IQ_2016] Modify argument from value to reference. refs #3805
Modified: branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/Manager.cpp
===================================================================
--- branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/Manager.cpp 2017-01-17 10:40:00 UTC (rev 2850)
+++ branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/Manager.cpp 2017-01-17 10:47:48 UTC (rev 2851)
@@ -71,7 +71,7 @@
Manager::InstanceName::InstanceName(const char* name)
: m_name(name)
{}
- Manager::InstanceName::InstanceName(const std::string name)
+ Manager::InstanceName::InstanceName(const std::string& name)
: m_name(name)
{}
bool Manager::InstanceName::operator()(RTObject_impl* comp)
Modified: branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/Manager.h
===================================================================
--- branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/Manager.h 2017-01-17 10:40:00 UTC (rev 2850)
+++ branches/DEV_IQ_2016/OpenRTM-aist/src/lib/rtm/Manager.h 2017-01-17 10:47:48 UTC (rev 2851)
@@ -1864,7 +1864,7 @@
{
explicit InstanceName(RTObject_impl* comp);
explicit InstanceName(const char* name);
- explicit InstanceName(const std::string name);
+ explicit InstanceName(const std::string& name);
bool operator()(RTObject_impl* comp);
std::string m_name;
};
More information about the openrtm-commit
mailing list