You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-sound/xmms2/files/xmms2-0.8_p20161122-cpp-cli...

17 lines
624 B

https://github.com/xmms2/xmms2-devel/pull/5
From: Sergei Trofimovich <slyfox@gentoo.org>
Date: Thu, 6 Dec 2018 07:19:08 +0000
Subject: [PATCH] OTHER: fix c++ client dangling reference
--- a/src/include/xmmsclient/xmmsclient++/mainloop.h
+++ b/src/include/xmmsclient/xmmsclient++/mainloop.h
@@ -41,7 +41,7 @@ namespace Xmms
* @note The constructor should only initialize the
* mainloop, not start it!
*/
- MainloopInterface( xmmsc_connection_t* conn ) :
+ MainloopInterface( xmmsc_connection_t*& conn ) :
running_( false ), conn_( conn ) { }
/** Destructor. Should also stop the loop.