Commit b84d8384 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

chromecast: use a reference to the received namespace

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 6da28de4
......@@ -223,7 +223,7 @@ extern "C" int recvPacket(sout_stream_t *p_stream, bool &b_msgReceived,
*/
void intf_sys_t::processMessage(const castchannel::CastMessage &msg)
{
std::string namespace_ = msg.namespace_();
const std::string & namespace_ = msg.namespace_();
if (namespace_ == NAMESPACE_DEVICEAUTH)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment