zxs 2 هفته پیش
والد
کامیت
bcf8a7bbd7
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  1. 0 2
      robot/robotics/message_bus.hpp

+ 0 - 2
robot/robotics/message_bus.hpp

@@ -116,8 +116,6 @@ namespace robotics {
 					}
 				}
 				else {
-					if(funcs.empty())
-						throw std::runtime_error("no function binded to topic " + str_topic);
 					_Ret result = _Ret{};
 					for (auto& fn : funcs) {
 						if (!fn.first) {