summaryrefslogtreecommitdiff
path: root/src/Partition.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Partition.cxx')
-rw-r--r--src/Partition.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Partition.cxx b/src/Partition.cxx
index eb511ee7e..131c0c4a5 100644
--- a/src/Partition.cxx
+++ b/src/Partition.cxx
@@ -29,7 +29,7 @@ Partition::Partition(Instance &_instance,
unsigned buffer_chunks,
unsigned buffered_before_play)
:instance(_instance),
- global_events(instance.event_loop, *this, &Partition::OnGlobalEvent),
+ global_events(instance.event_loop, BIND_THIS_METHOD(OnGlobalEvent)),
playlist(max_length, *this),
outputs(*this),
pc(*this, outputs, buffer_chunks, buffered_before_play)