[ekiga] Presence: We need to use bind now that there is an argument.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Presence: We need to use bind now that there is an argument.
- Date: Thu, 12 Nov 2015 18:33:15 +0000 (UTC)
commit b34f09fb2fae7fb8d62b055e3231f87720dae0c8
Author: Damien Sandras <dsandras seconix com>
Date: Sat Jun 20 16:42:02 2015 +0200
Presence: We need to use bind now that there is an argument.
lib/engine/presence/cluster-impl.h | 6 +++---
lib/engine/presence/heap-impl.h | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/lib/engine/presence/cluster-impl.h b/lib/engine/presence/cluster-impl.h
index 7fc277e..a989880 100644
--- a/lib/engine/presence/cluster-impl.h
+++ b/lib/engine/presence/cluster-impl.h
@@ -105,9 +105,9 @@ template<typename HeapType>
Ekiga::ClusterImpl<HeapType>::ClusterImpl ()
{
/* signal forwarding */
- heaps.object_added.connect (boost::ref (heap_added), _1);
- heaps.object_removed.connect (boost::ref (heap_removed), _1);
- heaps.object_updated.connect (boost::ref (heap_updated), _1);
+ heaps.object_added.connect (boost::bind (boost::ref (heap_added), _1));
+ heaps.object_removed.connect (boost::bind (boost::ref (heap_removed), _1));
+ heaps.object_updated.connect (boost::bind (boost::ref (heap_updated), _1));
}
template<typename HeapType>
diff --git a/lib/engine/presence/heap-impl.h b/lib/engine/presence/heap-impl.h
index e0a2041..0e91aa2 100644
--- a/lib/engine/presence/heap-impl.h
+++ b/lib/engine/presence/heap-impl.h
@@ -105,9 +105,9 @@ template<typename PresentityType>
Ekiga::HeapImpl<PresentityType>::HeapImpl ()
{
/* this is signal forwarding */
- presentities.object_added.connect (boost::ref (presentity_added), _1);
- presentities.object_removed.connect (boost::ref (presentity_removed), _1);
- presentities.object_updated.connect (boost::ref (presentity_updated), _1);
+ presentities.object_added.connect (boost::bind (boost::ref (presentity_added), _1));
+ presentities.object_removed.connect (boost::bind (boost::ref (presentity_removed), _1));
+ presentities.object_updated.connect (boost::bind (boost::ref (presentity_updated), _1));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]