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