zxs hai 2 semanas
pai
achega
bcf8a7bbd7
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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) {