[openrtm-commit:02104] r2797 - branches/FSM4RTC/OpenRTM-aist/src/lib/rtm

openrtm @ openrtm.org openrtm @ openrtm.org
2016年 11月 11日 (金) 19:14:38 JST


Author: n-ando
Date: 2016-11-11 19:14:38 +0900 (Fri, 11 Nov 2016)
New Revision: 2797

Modified:
   branches/FSM4RTC/OpenRTM-aist/src/lib/rtm/InPortPushConnector.cpp
Log:
[compat,formatting] Braces added.

Modified: branches/FSM4RTC/OpenRTM-aist/src/lib/rtm/InPortPushConnector.cpp
===================================================================
--- branches/FSM4RTC/OpenRTM-aist/src/lib/rtm/InPortPushConnector.cpp	2016-11-10 01:39:35 UTC (rev 2796)
+++ branches/FSM4RTC/OpenRTM-aist/src/lib/rtm/InPortPushConnector.cpp	2016-11-11 10:14:38 UTC (rev 2797)
@@ -44,7 +44,7 @@
       {
         m_buffer = createBuffer(info);
       }
-    if (m_buffer == 0 || m_provider==0) throw std::bad_alloc();
+    if (m_buffer == 0 || m_provider == 0) { throw std::bad_alloc(); }
 
     m_buffer->init(info.properties.getNode("buffer"));
     m_provider->init(info.properties);



More information about the openrtm-commit mailing list