提交 9db92214 编写于 作者: A Aaron Xiao 提交者: Liangliang Zhang

HMI: Fix lint.

上级 18cf7886
......@@ -48,7 +48,6 @@ cc_library(
"//modules/common/util:map_util",
"//modules/data/util:info_collector",
"//modules/dreamview/backend/common:dreamview_gflags",
"//modules/dreamview/backend/map:map_service",
"//modules/dreamview/proto:hmi_config_proto",
"//modules/dreamview/proto:hmi_status_proto",
"@com_google_protobuf//:protobuf",
......
......@@ -160,8 +160,7 @@ void HMI::RegisterMessageHandlers() {
<< "Failed to load new simulation map: " << new_map;
// And then broadcast new HMIStatus to all clients.
BroadcastHMIStatus();
}
);
});
websocket_->RegisterMessageHandler(
"ChangeMap",
[this](const Json &json, WebSocketHandler::Connection *conn) {
......@@ -181,8 +180,7 @@ void HMI::RegisterMessageHandlers() {
// Broadcast new HMIStatus and VehicleParam.
BroadcastHMIStatus();
SendVehicleParam();
}
);
});
websocket_->RegisterMessageHandler(
"ChangeVehicle",
[this](const Json &json, WebSocketHandler::Connection *conn) {
......@@ -201,8 +199,7 @@ void HMI::RegisterMessageHandlers() {
[this](const std::string& new_mode) {
// Broadcast new HMIStatus.
BroadcastHMIStatus();
}
);
});
websocket_->RegisterMessageHandler(
"ChangeMode",
[this](const Json &json, WebSocketHandler::Connection *conn) {
......
......@@ -18,6 +18,7 @@
#define MODULES_DREAMVIEW_BACKEND_HMI_HMI_WORKER_H_
#include <string>
#include <vector>
#include "boost/thread/locks.hpp"
#include "boost/thread/shared_mutex.hpp"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册