compiler warning police

This commit is contained in:
Benjamin Sergeant 2019-04-24 09:45:03 -07:00
parent b8087f6c48
commit cf37816602

View File

@ -122,7 +122,6 @@ namespace snake
void handlePublish( void handlePublish(
std::shared_ptr<SnakeConnectionState> state, std::shared_ptr<SnakeConnectionState> state,
std::shared_ptr<ix::WebSocket> ws, std::shared_ptr<ix::WebSocket> ws,
const AppConfig& appConfig,
const nlohmann::json& pdu) const nlohmann::json& pdu)
{ {
std::vector<std::string> channels; std::vector<std::string> channels;
@ -293,7 +292,7 @@ namespace snake
} }
else if (action == "rtm/publish") else if (action == "rtm/publish")
{ {
handlePublish(state, ws, appConfig, pdu); handlePublish(state, ws, pdu);
} }
else if (action == "rtm/subscribe") else if (action == "rtm/subscribe")
{ {