[openrtm-commit:03033] r3154 - branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm

openrtm @ openrtm.org openrtm @ openrtm.org
2017年 12月 16日 (土) 16:15:59 JST


Author: n-ando
Date: 2017-12-16 16:15:59 +0900 (Sat, 16 Dec 2017)
New Revision: 3154

Modified:
   branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm/OutPortConnector.h
   branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm/PortCallback.h
Log:
[incompat,->RELENG_2_0,->trunk] some arguments const changed.

Modified: branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm/OutPortConnector.h
===================================================================
--- branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm/OutPortConnector.h	2017-12-16 07:01:02 UTC (rev 3153)
+++ branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm/OutPortConnector.h	2017-12-16 07:15:59 UTC (rev 3154)
@@ -209,7 +209,7 @@
      * @endif
      */
     template <class DataType>
-    ReturnCode write(const DataType& data)
+    ReturnCode write(DataType& data)
     {
       if (m_directInPort != NULL)
         {

Modified: branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm/PortCallback.h
===================================================================
--- branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm/PortCallback.h	2017-12-16 07:01:02 UTC (rev 3153)
+++ branches/RELENG_1_2/OpenRTM-aist/src/lib/rtm/PortCallback.h	2017-12-16 07:15:59 UTC (rev 3154)
@@ -294,7 +294,7 @@
      *
      * @endif
      */
-    virtual DataType operator()(const DataType& value) = 0;
+    virtual DataType& operator()(DataType& value) = 0;
   };
   
 
@@ -427,7 +427,7 @@
      *
      * @endif
      */
-    virtual DataType operator()(const DataType& value) = 0;
+    virtual DataType& operator()(DataType& value) = 0;
   };
   
 



More information about the openrtm-commit mailing list