[openrtm-commit:01582] r2649 - trunk/OpenRTM-aist/src/lib/rtm

openrtm @ openrtm.org openrtm @ openrtm.org
2015年 7月 16日 (木) 11:39:01 JST


Author: n-ando
Date: 2015-07-16 11:39:01 +0900 (Thu, 16 Jul 2015)
New Revision: 2649

Modified:
   trunk/OpenRTM-aist/src/lib/rtm/PortBase.cpp
   trunk/OpenRTM-aist/src/lib/rtm/PortBase.h
Log:
[incompat,->RELENG_1_2] add const to getPortRef()

Modified: trunk/OpenRTM-aist/src/lib/rtm/PortBase.cpp
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/PortBase.cpp	2015-07-10 13:14:08 UTC (rev 2648)
+++ trunk/OpenRTM-aist/src/lib/rtm/PortBase.cpp	2015-07-16 02:39:01 UTC (rev 2649)
@@ -542,7 +542,7 @@
    * @brief Get the object reference of the Port
    * @endif
    */
-  PortService_ptr PortBase::getPortRef()
+  PortService_ptr PortBase::getPortRef() const
   {
     RTC_TRACE(("getPortRef()"));
     Guard gurad(m_profile_mutex);

Modified: trunk/OpenRTM-aist/src/lib/rtm/PortBase.h
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/PortBase.h	2015-07-10 13:14:08 UTC (rev 2648)
+++ trunk/OpenRTM-aist/src/lib/rtm/PortBase.h	2015-07-16 02:39:01 UTC (rev 2649)
@@ -961,7 +961,7 @@
      *
      * @endif
      */
-    PortService_ptr getPortRef();
+    PortService_ptr getPortRef() const;
     
     /*!
      * @if jp



More information about the openrtm-commit mailing list