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) {