fix warning / ws_cobra_subscribe does not need a verbose flag

This commit is contained in:
Benjamin Sergeant
2019-04-19 11:45:42 -07:00
parent 7e2c1f274b
commit d34f10b4ea
3 changed files with 3 additions and 7 deletions

View File

@ -17,8 +17,7 @@ namespace ix
const std::string& endpoint,
const std::string& rolename,
const std::string& rolesecret,
const std::string& channel,
bool verbose)
const std::string& channel)
{
ix::CobraConnection conn;
@ -51,7 +50,6 @@ namespace ix
conn.subscribe(channel,
[&jsonWriter](const Json::Value& msg)
{
// std::cout << "Received message" << std::endl;
std::cout << jsonWriter.write(msg) << std::endl;
});
}