{"action":"created","issue":{"url":"https://api.github.com/repos/socketio/socket.io-client-cpp/issues/15","labels_url":"https://api.github.com/repos/socketio/socket.io-client-cpp/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/socketio/socket.io-client-cpp/issues/15/comments","events_url":"https://api.github.com/repos/socketio/socket.io-client-cpp/issues/15/events","html_url":"https://github.com/socketio/socket.io-client-cpp/issues/15","id":78718759,"number":15,"title":"Emit Binary conversion error while using std::make_shared<std::string>( Foo )","user":{"login":"mdeforge","id":3293541,"avatar_url":"https://avatars.githubusercontent.com/u/3293541?v=3","gravatar_id":"","url":"https://api.github.com/users/mdeforge","html_url":"https://github.com/mdeforge","followers_url":"https://api.github.com/users/mdeforge/followers","following_url":"https://api.github.com/users/mdeforge/following{/other_user}","gists_url":"https://api.github.com/users/mdeforge/gists{/gist_id}","starred_url":"https://api.github.com/users/mdeforge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdeforge/subscriptions","organizations_url":"https://api.github.com/users/mdeforge/orgs","repos_url":"https://api.github.com/users/mdeforge/repos","events_url":"https://api.github.com/users/mdeforge/events{/privacy}","received_events_url":"https://api.github.com/users/mdeforge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-20T22:09:21Z","updated_at":"2015-05-21T05:24:00Z","closed_at":null,"body":"This is almost verbatim from the README.\r\n\r\nchar buf[100];\r\ncurrent_socket->emit ( \"bintest\", std::make_shared<std::string>(&buf, 100) );\r\n\r\nI get: Error\t1\terror C2664: 'void sio::socket::emit(const std::string &,const sio::message::list &,const std::function<void (const sio::message::ptr &)> &)' : cannot convert argument 2 from 'std::shared_ptr<std::string>' to 'const sio::message::list &'\tC:\\Libraries\\socket.io-client-cpp\\examples\\Console\\main.cpp\t90 \r\n"},"comment":{"url":"https://api.github.com/repos/socketio/socket.io-client-cpp/issues/comments/104140545","html_url":"https://github.com/socketio/socket.io-client-cpp/issues/15#issuecomment-104140545","issue_url":"https://api.github.com/repos/socketio/socket.io-client-cpp/issues/15","id":104140545,"user":{"login":"melode11","id":3647507,"avatar_url":"https://avatars.githubusercontent.com/u/3647507?v=3","gravatar_id":"","url":"https://api.github.com/users/melode11","html_url":"https://github.com/melode11","followers_url":"https://api.github.com/users/melode11/followers","following_url":"https://api.github.com/users/melode11/following{/other_user}","gists_url":"https://api.github.com/users/melode11/gists{/gist_id}","starred_url":"https://api.github.com/users/melode11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melode11/subscriptions","organizations_url":"https://api.github.com/users/melode11/orgs","repos_url":"https://api.github.com/users/melode11/repos","events_url":"https://api.github.com/users/melode11/events{/privacy}","received_events_url":"https://api.github.com/users/melode11/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T05:24:00Z","updated_at":"2015-05-21T05:24:00Z","body":"Did you tried my code in the 3rd post."}}