zxs 2 주 전
부모
커밋
33aded5809
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      robot/robotics/message_bus.hpp

+ 1 - 1
robot/robotics/message_bus.hpp

@@ -112,7 +112,7 @@ namespace robotics {
 				}
 				if constexpr(std::is_same<_Ret, void>::value) {
 					for(auto &fn : funcs) {
-						std::any_cast<function_type>(fn)(args...);
+						std::any_cast<function_type>(fn.second)(args...);
 					}
 				}
 				else {