vlc | branch: master | Steve Lhomme <[email protected]> | Wed Dec 23 12:58:42 2015 +0100| [b84d8384b89b0dfbd0fa6430fcd03fcaf65946f9] | committer: Jean-Baptiste Kempf
chromecast: use a reference to the received namespace Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b84d8384b89b0dfbd0fa6430fcd03fcaf65946f9 --- modules/stream_out/chromecast/chromecast_ctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/stream_out/chromecast/chromecast_ctrl.cpp b/modules/stream_out/chromecast/chromecast_ctrl.cpp index a41cf8d..b2d5df5 100644 --- a/modules/stream_out/chromecast/chromecast_ctrl.cpp +++ b/modules/stream_out/chromecast/chromecast_ctrl.cpp @@ -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) { _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
