aboutsummaryrefslogtreecommitdiff
path: root/audio/xmms2/files/patch-src-include-xmmsclient-xmmsclient++-coll.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xmms2/files/patch-src-include-xmmsclient-xmmsclient++-coll.h')
-rw-r--r--audio/xmms2/files/patch-src-include-xmmsclient-xmmsclient++-coll.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/xmms2/files/patch-src-include-xmmsclient-xmmsclient++-coll.h b/audio/xmms2/files/patch-src-include-xmmsclient-xmmsclient++-coll.h
new file mode 100644
index 000000000000..08137388bf26
--- /dev/null
+++ b/audio/xmms2/files/patch-src-include-xmmsclient-xmmsclient++-coll.h
@@ -0,0 +1,11 @@
+--- src/include/xmmsclient/xmmsclient++/coll.h.orig 2013-05-24 12:04:02.505430442 +0200
++++ src/include/xmmsclient/xmmsclient++/coll.h 2013-05-24 12:07:11.694426120 +0200
+@@ -612,7 +612,7 @@
+
+ template< typename keyT, typename valT >
+ AbstractElement< keyT, valT >::AbstractElement( const Coll& coll, keyT index )
+- : coll_ (coll), index_( index )
++ : coll_ ( const_cast< Coll& >( coll ) ), index_( index )
+ {
+ xmmsv_coll_ref( coll_.getColl() );
+ }